I'm actually curious about this. I thought that all erb code and its rails variables are all prepared before the actual erb file gets loaded and its not rendered on the fly?
David On Sat, Oct 1, 2011 at 4:09 PM, BALA MANI <[email protected]> wrote: > Don't Right Ruby code in .erb file. If you want then you can write > controller.rb file then your application load easy > > > by > bdeveloper01 > > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

