-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Henry,
I'm not sure why it's not working, but maybe you can use a workaround, checking instead the user profile: http://groups.google.com/group/hobousers/browse_thread/thread/918903782a545bc5/de847ac5ea7d47bf?lnk=gst&q=if+administrator#de847ac5ea7d47bf if="¤t_user.administrator" Regards, Ignacio El 10/05/11 13:42, Henry H escribió: > I'm trying to narrow down I'm error I'm receiving and could use some > help. Here's the relevant parts of the application trace paired down: > > |/home/henry/hobo-awesome/vendor/ruby/1.8/gems/hobo-1.0.3/lib/hobo/hobo_helper.rb:230:in > `can_create?' > app/views/taglibs/application.dryml:111:in `show_page__for_lease'| > > Here's line 111 from application.dryml which is kicking off the error: > > <section param="add-to-collection" if="&can_create?(@lease.activities)"> > > > The lease controller definitely does not have any method called > 'set_creator' that I'm aware of, but I'm not sure why it's calling that > if it's checking to see if the user can create activities for the > current lease. Any thoughts on what may be going on here? > > Thanks, > Henry > > -- > 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. - -- Ignacio Huerta Arteche http://www.ihuerta.net Teléfono: 0034 645 70 77 35 Email realizado con software libre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3JieIACgkQBPlUJ6RHaORKVgCgq4A2TuoC1Cy5RUdhtlKAH8ov 3AgAoJXGduCCCb6fuvsuEoKtexuAY8dV =sfw1 -----END PGP SIGNATURE----- -- 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.
