rails-engines
How to change search order for render a partial in plugin/engine in rails3?
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:[详细]
2023-03-10 06:39 分类:问答Rails Engine configuration
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:[详细]
2023-03-08 21:34 分类:问答Restart a dummy application when testing rails engines?
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[详细]
2023-03-07 18:24 分类:问答Why do includes in Rails Engine initializers malfunction when cache_classes = false?
I have an Engine which is extending another Engine\'s classes in its initializers like so: module MyApp[详细]
2023-03-01 18:28 分类:问答Rails engine 'require' prefix
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?[详细]
2023-02-24 06:07 分类:问答How to modify a Rails engine to require my library?
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[详细]
2023-02-23 01:31 分类:问答My rails 3 engine's controller is only found by rails every second page refresh, otherwise returns LoadError
i\'m developing a rails 3 engine 开发者_C百科but really having troubles getting the controller to load every time.[详细]
2023-02-22 14:25 分类:问答Rails::Engine namespacing controller and models
I followed the following tutorial: http://www.themodestrubyist.com/2010/03/05/rails-3-plugins---part-2---writing-an-engine/[详细]
2023-02-20 00:51 分类:问答Haml in Rails 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\"[详细]
2023-02-14 03:58 分类:问答Rails Engine - Gems dependencies, how to load them into the application?
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[详细]
2023-02-14 00:43 分类:问答