Answer Posted / surekha matte
Rails makes extensive use of symbols. A symbol looks like a
variable symbols name, but it’s prefixed with a colon.
Examples of symbols include :action,:line_items, and :id.
Rails uses symbols to identify things. In particular, it
uses them as keys when naming method parameters and looking
things up in hashes. For example:
redirect_to :action => "edit", :id => params[:id]
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
What is the difference between concern and application_controller.rb in ruby on rails?
when self.up and self.down method is used?
Am Fresher ..,i dont know seven controller methods.am searching in google .but am not getting .help me
Explain dry in rails?
What are the different filters used in ruby on rails?
what is sweeper in Rails?
What is the difference between false and nil in ruby?
What is agile development? What are the strengths?
What is Dynamic finders ?
How to find second max element from database ?
Which command is used to create a migration?
In how many ways you can create rails layout http response.
Can you explain me how rails implements ajax?
What are the various changes between the rails version 2 and 3?
What is active record in rails?