[Rails] Re: Is there a way not to break 3 lines of code into 3 <% %> ?
Jian Lin wrote:
> using join looks like will create only n + 1 string objects...
>
ah, on second thought, doesn't the join() method actually will create n
string objects too? (the next one longer than a previous one), so it
would be creating 2n string objects too.
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home