On Jan 16, 2012, at 3:01 PM, Bruno Meira wrote:

> Thx for your reply Walber. :D
> That's exactly the point that is my question.
> The helper will be constructed at view time, isn't it?
> If it was at application start time, how ruby syntaxes that involves 
> iteration will works?
> .....
> Example:
> @users.each do |user|
> f.select_tag ...
> .....
> 
> Well, I'm not so sure that these helpers will be work without an overhead.
> For now, I think that helpers are good just as a start version of your app, 
> after you have to change your view to work with as less erb as you can.
> 
> 
> 

If you can pinpoint the erb as a source of overhead in your performance 
testing, then certainly, have at it. But while you are designing and iterating 
your application, hand-coding the views is a source of developer overhead that 
you really need to balance against theoretical maximum application performance. 
(Even if you don't pay your developers anything at all, it still takes time to 
make the changes, and the thought of that effort is a chilling effect on your 
willingness to try new things.)

Walter

> 
> 
> 
> -- 
> 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.

Reply via email to