Is there any way you guys could put your user models into a pastie so we could look at the code directly?
2008/9/2 Bruno Bornsztein <[EMAIL PROTECTED]>: > Sorry guys, I've tried, but can't reproduce this. My app works as expected > (methods in /apps/models/user.rb override CE's user.rb automatically) > > 2008/9/2 Valeri <[EMAIL PROTECTED]> >> >> Same problem. >> >> >> On 28 авг, 23:54, morhekil <[EMAIL PROTECTED]> wrote: >> > Hello. >> > >> > I've got problems trying to override User model in CE by copying >> > user.rb file from the plugin to my own app/models directory. When I do >> > so it seems that not only my file doesn't override default CE's one, >> > but CE fail to see any of them and starts complaining about missing >> > methods in User model - methods those are surely there, like to_param >> > or posts methods. Debugging and examining the model CE is complaning >> > about I've found that it looks like a completely generic ActiveRecord >> > model without any custom methods, etc. >> > >> > When I'm subclassing User and overriding User's method in a subclass >> > everything works just fine. >> > >> > Anyone has any ideas why I can't just copy the model to my own app? >> > >> > I'm running Rails 2.1 and Ruby 1.8.6. >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
