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
Difference between argument and parameter in ruby on rails ?
Explain me what is the role of rails controller?
Explain me what is the naming convention in rails?
Am Fresher ..,i dont know seven controller methods.am searching in google .but am not getting .help me
What is action cable?
Tell me what is ruby on rails?
What is rails scaffolding?
Explain some features of nested scaffolding.
What is a proc ?
Explain me the log that has to be seen to report errors in ruby rails?
How many types of relationships does a model has?
what are helpers and how to use helpers in ror?
Explain about Dig, Float and Max?
Explain how Rails implements Ajax?
How can the filter methods in ruby on rails be protected?