I am using 4 months old version (don't know the name). Recently I downloaded
latest one, but I just don't to move to it because of deadlines issue.

On Wed, Nov 4, 2009 at 8:08 PM, Bruno Bornsztein <[email protected]
> wrote:

>
> Which version of CE are you on? The latest version includes that
> after_initialize block automatically, so you shouldn't have to include
> it.
>
> Also, just for the record, using require_dependecy is not necessary
> (Desert should handle mixing the CE user model for you).
>
>
> On Wed, Nov 4, 2009 at 2:34 AM, Ansar.ich <[email protected]>
> wrote:
> >
> > Thank you sooooo much!
> > I added this
> >
> > config.after_initialize do
> >   ActiveSupport::Dependencies.load_once_paths =
> > ActiveSupport::Dependencies.load_once_paths.select {|path| (path =~  /
> > (community_engine|asset_packager)/).nil? }
> >  end
> >
> > to development config file and removed require_dependency "#
> > {RAILS_ROOT}/vendor/plugins/community_engine/app/models/user.rb" from
> > user.rb.
> > Could you please write why this heppens?
> >
> > Again thanks a lot
> >
> >
> >
> > On Nov 4, 1:20 pm, Jim Ruther Nill <[email protected]> wrote:
> >> try adding this in your development config file.
> >>
> >> config.after_initialize do
> >>   ActiveSupport::Dependencies.load_once_paths =
> >> ActiveSupport::Dependencies.load_once_paths.select {|path| (path =~
> >> /(community_engine|asset_packager)/).nil? }
> >> end
> >>
> >> On Wed, Nov 4, 2009 at 3:01 PM, Ansar.ich <[email protected]>
> wrote:
> >>
> >> > It did not help. It always works just once, after restarting mongrel
> >> > and refreshing the page.
> >>
> >> --
> >> "We do not believe in ourselves until someone reveals that deep inside
> us is
> >> valuable, worth listening to, worthy of our trust, sacred to our touch."
> -
> >> E. E. Cummings
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to