Yeah, that's because the .l method is an extension that CE adds onto the symbol class. You must be calling .l on a symbol somewhere in your overridden method, and since that loads before CE, you get an undefined method error. I've fixed this error in the edge branch (by changing the error message option in the validation on Rsvp to use I18n.t instead of :symbol.l.
If you don't want to upgrade to edge, you can just require the globalite_extensions in your environment, like this: require 'desert' require_dependency 'vendor/plugins/community_engine/lib/globalite_extensions.rb' Thanks, Bruno On Thu, Dec 17, 2009 at 6:07 PM, cs <[email protected]> wrote: > I get 'undefined method `l' > for :you_have_already_rsvped_for_this_event:Symbol' when I start my > app in production mode. I've overridden the rsvp model and the problem > goes away if I paste the code in the original rsvp model and delete > the overridden model. maybe something is loading in the wrong order? > > -- > > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en.
