On 14 August 2014 18:18, Hassan Schroeder <[email protected]> wrote:
> On Thu, Aug 14, 2014 at 10:10 AM, Roelof Wobben <[email protected]> wrote:
>
>> ActionView::Template::Error (undefined local variable or method `“layouts'
>> for #<#<Class:0x007f6269e4a548>:0x007f6269e49080>):
>>     21:          <%= render “layouts/sidebar” unless
>> current_page?(new_admin_session_path) %>
> What in the name of all that's merciful are you using as an editor?
>
> Look *closely* at the error message.
>
> You're using "smart" (sic) quotes instead of normal double-quote
> characters. Fix that and it'll work as expected.

Well spotted Hassan.  Isn't it annoying when someone sees something
that one should have seen oneself  :)
Particularly when I am always telling people to look at the error message.

Colin

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLueB%2BRmSf0TDVzYgkHx-SeGR7b7LptM2urrsX52kf_a2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to