On Wed, Mar 12, 2014 at 11:52 PM, Brandon <wongw...@gmail.com> wrote:
> I'm curious what is the best practice here.. Do you use single quote for
> both .html.erb and .rb files?
>
> I try to use single quote first as much as I can because I find the
> readability is better and it takes up less spaces each line.
>
> What has been your experience?

It depends upon whether I need to do any interpolation in the string or not.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAHUC_t9S6TN-kjqphdoK80WN79jjSDQrZ2Hr4OT6z6vdSEYr2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to