Displaying 1 result from an estimated 1 matches for "krvpl7ht7pej".
2012 Sep 09
5
Rails Syntax Change
I am a newbie. Looking at some old text vs new. I see some changes:
New: <%= yield(:title) %>
Old: <%= @title %>
New: "#{base_title} | Home"
Old: @base_title + "| Home"
Can you tell me when they got changed? Are the new syntax now the
preferred way? Are they more elegant?
Thanks!
--
You received this message because you are subscribed to the Google