I\'m writing a modular project in Rails3, and I\'ve this issue. I\'ve my main project, and I want to implement part of it with differentes customizations, so I\'m using Engine, so I\'ve:
I\'m developing a Rails Engine that handles the OAuth mechanism with a third party. I would like to have all the configuration in a Struct attribute, so all the engine config data is stored together:
I\'m working in a new Rails engine and I need to restart it while testing. Of I try Dummy::Application.initialize! i开发者_如何学运维t do not work because the application was already initialized, so R
I have an Engine which is extending another Engine\'s classes in its initializers like so: module MyApp
If i have a gem \'foo\' (Which is engine-based), how can i say that all files included in it will need the \'foo/\' prefix when \'require\'开发者_如何学Going them?
I have a Rails engine (someone else\'s gem) that I am trying to modify by adding another gem as a dependency. I can\'t seem to f开发者_高级运维igure out how to get the engine to require the library. I
i\'m developing a rails 3 engine 开发者_C百科but really having troubles getting the controller to load every time.
I followed the following tutorial: http://www.themodestrubyist.com/2010/03/05/rails-3-plugins---part-2---writing-an-engine/
I am developing Rails engine that uses HAML for views templates. So my gemspec has following: line s.add_runtime_dependency \'haml\', \">= 3.0.18\"
I\'m doing an engine here, it works alright in stand alone. When I transform it into a gem, and load it inside another application, I get a lot of undefined errors, coming from my engine gem\'s depen