Notes posted by dlanphear9
RSS feed
0 thanks
Symbols more performant than strings
>> options_from_collection_for_select(@posts, :slug, :title, params[:slug])
Consider using symbols for performance, otherwise it will generate a string each time instead of a symbol which will reference the same object.