On Nov 26, 2010, at 9:15 AM, Andrew Davis wrote:
> Hello everyone,
>
> The Rails Best Practice report says I'm calling format.html twice, which
> is correct. But how would I condense it? Any suggestions?
>
> http://pastie.org/private/dsvko5pol8okqpmolzy1a
It seems to me pretty clean and straightforward code...
I think condensing it will only make it harder to read.
Matteo
>
> Thanks!
> Andrew Davis
>
> --
> 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.
>
--
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.
No comments:
Post a Comment