Ruby/ROR Symbols Clarification

Posted by Jelani Thompson on Stack Overflow See other posts from Stack Overflow or by Jelani Thompson
Published on 2013-11-08T15:46:08Z Indexed on 2013/11/08 15:53 UTC
Read the original article Hit count: 368

Filed under:
|

I'm new to Ruby/ROR and I'm kind of confused with something. A simple explanation would help.

  1. Say I was linking to another page in Ruby on Rails. Would the keyword link_to be considered a method? Also, if so, where would I be able to learn more about these?

  2. Symbols. What is the difference between a symbol with a colon on the :left or a symbol with a colon on the right:? Where would I be able to learn more about these?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby