I have a Rails Engine gem in which I want to load a HomeController class definition dynamically from an initializer. I can instantiate the class correctly, but when I go to call the index action, I ge
I\'m using Rails 3.1 and I am able to use rail开发者_运维技巧ties to install migrations (by doing rake railties:install:migrations FROM=plugin_name). However, I have a couple of config files (.yml, et
I need to know, from in开发者_如何学编程side of a layout of a mountable engine, what path it\'s currently being mounted on. What would be the way to do it?
I am trying to rewrite an app using rails 3.1 making use of engines. Somehow the test dumm开发者_运维问答y app does not pick up my assets and I don\'t know what would be causing this. i.e. stylesheets
I\'m building a mountable engine. From a basic install, I\'开发者_如何学运维ve moved my existing application into the engine namespace.
I\'m trying to test a Rails 3.1 engine with RSpec 2.After a lot of trial and error (and documentation and Stack Overflow searching) the app is working and I\'ve gotten most of the specs to pass.The pr
I have a new, mountable rails 3.1 engine and I need the client app, that being the rails app that will include this engine, to define a generic permission based method.
I started making a Rails 3.1 engine, and I\'m having a hard time testing it using rspec. First of all, if I run rails g integration_test whatever it creates a regular integration test in tests/integr
I\'m in the process of upgrading a Rails 3 project, which uses Devise for authentication, to a Rails 3.1 mountable Engine. After the upgrade, Devise doesn\'t seem to be initialized correctly, raising
I\'m developing a custom engine using this setup. I\'ve created the engine with rails plugin new MyEngine --full