Comments (6)
Can you provide a demo app to demonstrate the issue ? I've never used activeadmin so I don't even know where to start. Something really simple would be great.
from active_reload.
I think active_reload have bug when loading a Rails Engine. I have an issue where a helper could not be found when I access the rails engine within the parent app.
from active_reload.
I can confirmed that " the menu is not rendered anymore after the first request". I'm investigating this now.
from active_reload.
# Don't eagerload our configs, we'll deal with them ourselves
Rails.application.config.eager_load_paths = Rails.application.config.eager_load_paths.reject do |path|
load_paths.include?(path)
end
# Dispatch request which gets triggered once in production
# and on every require in development mode
ActionDispatch::Callbacks.to_prepare :active_admin do
ActiveAdmin.unload!
Rails.application.reload_routes!
end
# Removes all the controllers that were defined by registering
# resources for administration.
#
# We remove them, then load them on each request in development
# to allow for changes without having to restart the server.
def unload!
namespaces.values.each{|namespace| namespace.unload! }
self.namespaces = {}
@@loaded = false
end
from active_reload.
This is hard...
from active_reload.
I am closing all issues since I no longer maintain this gem and it was incorporated into Rails 3.2.
from active_reload.
Related Issues (13)
- Add support for ruby 1.8.7 (undefined method `source_location' for Proc) HOT 3
- Test with 3.0.10rc HOT 1
- including active_reload in a 3.1 app drastically increases overall page loading HOT 2
- Clear cache for assets too? HOT 1
- prepare called even when not cleaned HOT 1
- Missing licensing information HOT 2
- incompatible with rails 3.2 HOT 3
- Null exception Rails 3.1.rc4/Ruby 1.9.2-p290 HOT 13
- Invalid Gemspec HOT 4
- Error message on load HOT 2
- Problem with locales HOT 3
- Test with Rails 3.1.0.rc5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from active_reload.