Closed PikachuEXE closed 12 years ago
It seems there are many different things in your commits.
The main point is you remove ActiveSupport.onload and include directly ActsAsGmappable in ActiveRecord.
This is not acceptable as it will break for Mongoid (or other ORM) users.
Do you have some details about your issue?
https://github.com/sferik/rails_admin/issues/921 I have issue when using audit_with on RailsAdmin
Remove ActiveSupport.onload
? I know I did that in some commit but that was just for testing
The Diff only shows that I moved the ORM initializer from Engine to Railtie and the ActiveSupport.onload
still exists
If you want a cleaner commit I will do it
I'd like to.
Indeed, I'm on iphone and it's a pain to understand the final Result. Did you simply changed from engine to Railtie?
I only moved initializer "include acts_as_gmappable within ORM" from Engine to Railte
ActiveSupport.onload
is not touched
I am going to make another cleaner pull request now
I do this to make sure when RailsAdmin run audit_with, the method "acts_as_gmappable" is defined / ActsAsGmappable is included already