How to use a Rails engine in a rails engine -


we creating rails 4 engine pull out common functionality between our rails apps. 1 thing bit confused if engine has engine? say, if wanted put activeadmin in it? have create separate namespace admin?

also, migrations activeadmin (and devise)? should put in our engine or best practice "before using engine, make sure have devise/active admin installed"?

you should put engine dependencies (understand migrations, gems, lib, assets, ...) in ... well, engine of course.

you can have devise mounted engine in engine. may require special configuration though.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -