small medium large xlarge

05 Mar 2012, 02:14
Michael Ryan Soileau (5 posts)

Just stating that there’s still a few of the old rails syntax lying around on a couple of pages. Of course, it doesn’t hurt anything to use the old syntax, but I found places like:

<%= stylesheet_link_tag “application”, :media => “all” %>

Which in 3.2 is:

<%= stylesheet_link_tag “application”, media: “all” %>

You must be logged in to comment