Thanks! On 10 nov, 14:20, Matt Jones <[email protected]> wrote: > On Nov 9, 2010, at 6:17 PM, Pedro wrote: > > > Yes, I copied it from tutorial (page 275), paste it on Recipie class > > and run it. > > >>> named_scope :viewable, lambda {|acting_user| {:conditions => > >>> “#{acting_user.signed_up??1:0}=1 or lifecycle_state='published'" }} > > Finally looked at this in the print version, where it's a lot easier to see > what's wrong: Word has oh-so-helpfully converted the leading " into a U+201C > character, which then screws the *whole* thing up. > > --Matt Jones
-- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
