rails-engines
A way to add before_filter from engine to application
Without a lot of specific code, this is just vague, but I\'ll provide what I can. Given a rails engine, a basic engine and not a mountable engine in its own space, how do I make methods from the engi[详细]
2023-04-02 16:09 分类:问答Rails 3.1 Engine plugin rspec testing (external gem Spree Commerce)
I created an engine inside an app that depends on an external gem: Spree. And I did my best to set RSpec within that engine following this guide.[详细]
2023-03-29 12:10 分类:问答How do I make gemspec dependencies autoload in a Rails 3 app, using a Gemfile
I have a Rails 3 app that I am turning into a Rails engine / gem. This engine has some gem dependencies that I have put inside it\'s .gemspec file.[详细]
2023-03-26 19:10 分类:问答How to call a parent app's helper method from a rails 3.1 engine
I\'m building a rails engine that uses the \"acts as\" format to establish relationships with the parent application\'s User model.[详细]
2023-03-23 01:29 分类:问答How do I reference my existing routes when using a Rails 3.1 engine?
I\'m using the forem engine in Rails 3.1, but my application layout references some resource routes such as users_path and new_sprite_path.[详细]
2023-03-22 22:29 分类:问答Ruby on Rails 3.1 Blog Engines
I see a lot of people asking about Blog Engines, but most of the questions & answers are rather old.Or if they aren\'t old most of the projects are old.I\'m wondering if anyone knows of any Blog E[详细]
2023-03-21 10:05 分类:问答How to develop a Rails3 engine against a real app, using RSpec?
A lot has been written about engine development, and using a dummy app for testing. In our case we\'re developing an engine that is not a stand-alone entity, but has dependencies on a real Rails 3 ap[详细]
2023-03-17 06:10 分类:问答Rails3 Engine: Gems (paperclip and inherited_resources) not loaded
In my rails3 engine gemfile, I added: gem \'paperclip\' gem \'inherited_resources\' I also added this to my gemspec:[详细]
2023-03-15 20:33 分类:问答Rails3 Engine helper over-ride
So I have a Rails 3.0 Engine (gem). It provides a controller at app/controllers/advanced_controller.rb, and a corresonding helper at app/helpers/advanced_helper.rb. (And some views of course).[详细]
2023-03-13 09:14 分类:问答How to override Rails app routes from an engine?
I have a Rails app that I am trying to integrate a Rails engine in to. The host app has 开发者_开发技巧some catch all routes:[详细]
2023-03-12 15:49 分类:问答