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