rails-engines
How to get the list of all engines in Rails 3 app
According to Rails engines extending functionality in Rails 2.x one could do Rails::Initializer.new(Rails.configuration).plugin开发者_开发知识库_loader.engines[详细]
2023-02-12 14:38 分类:问答Best way to require Haml on Rails3 engines
I\'m developing a Rails3 engine application, and I want to use Haml for the views. First, what I have done was to add this to the engine Gemfile:[详细]
2023-02-11 23:10 分类:问答Making a custom plugin/gem/engine for Rails 3 app
I am foll开发者_Python百科owing the guide http://edgeguides.rubyonrails.org/plugins.html and it seems to be slightly outdated. Could you have a look on it and tell me which sections should be done in[详细]
2023-02-11 10:50 分类:问答How do I debug a rails 3 gem?
I have created a gem/engine based on this tutorial: http://www.themodestrubyist.com/2010/03/05/rails-3-plugins---part-2---writing-an-engine/[详细]
2023-02-10 09:51 分类:问答Migrations in Rails Engine?
I have multiple rails applications talking to the same backend and I\'d like them to share some migrations.[详细]
2023-01-31 21:43 分类:问答How to test Rails 3 Engines with Cucumber & Rspec?
I apologize if this question is slightly subjective... I am trying to figure out the best way to test Rails 3 Engines with Cucumber & Rspec.In order to test the engine a rails 3 app is necessary.H[详细]
2023-01-29 03:02 分类:问答Rails 3 Engine & Static assets
I\'m building an engine I\'ve bundled as a gem (gmaps4rails). I copied the /public of my engine in the /public of my rails app.[详细]
2023-01-26 12:30 分类:问答Ruby/Rails with Rails Engine (Redmine plugins) - Adding to a base view without overriding it?
I have a plugin that needs to add something the the base Redmine layout. The change consists of a couple divs and a call to a JavaScript function.开发者_如何学C Currently I am accomplishing this by si[详细]
2023-01-23 20:54 分类:问答how to override rails 3 engine models and controllers in the main application?
I want to be able to override models and controllers of my rails 3 engine in the base app. Inspecting $LOAD_PATH, I found engine\'s \'app/{models,controllers}\' th开发者_如何学编程ere, but I can\'t e[详细]
2023-01-21 00:03 分类:问答Plugin vs Engine in Rails 3, shipped as a gem
In the documentation for Rails::Plugin (for Rails 3), I\'m reading the following: \"... you actually cannot开发者_Python百科 declare a Rails::Engine inside your Plugin, otherwise it would cause the s[详细]
2023-01-19 04:58 分类:问答
加载中,请稍侯......