Top "Rails-engines" questions

A Rails engine allows you to share common functionality across applications in the form of a gem or a plugin.

Render engine within application layout

Background I am creating a application that is made up of a core and several modules. The modules are rails …

ruby-on-rails-3 ruby-on-rails-plugins rails-engines
Extending controllers of a Rails 3 Engine in the main app

I am using a Rails engine as a gem in my app. The engine has PostsController with a number of …

ruby-on-rails ruby-on-rails-3 rubygems rails-engines
Rails 3.1: Better way to expose an engine's helper within the client app

I have found a few articles addressing the issue of helpers within an engine not being accessible to the consuming (…

ruby-on-rails ruby-on-rails-3.1 rails-engines helpers view-helpers
Override a Rails Engine controller action

i'm using a Rails engine, but i need to customize some controllers actions. I actually forked the engine, and implementing …

ruby-on-rails rails-engines
Add asset path in rails mountable engine?

How can I add vendor/assets/javascripts/mymountableengine or vendor/assets/stylesheets/mymountableengine to my mountable engine's assets paths? I …

ruby-on-rails rails-engines
Using the correct url_for method in a Rails engine spec

I have a request spec in a Rails engine. The view that is rendered calls a route and passes in …

ruby-on-rails rspec routing ruby-on-rails-4 rails-engines
Engine routes in Application Controller

I have a before_filter hook in my main app's application controller that does something like: (It doesn't just put …

ruby-on-rails-3 rails-routing rails-engines
Listing 'rake routes' for a mountable Rails 3.1 engine

I'm working on a mountable engine for use with Rails 3.1, and I want to list the engine's routes. I created …

ruby-on-rails routes ruby-on-rails-3.1 rails-routing rails-engines
Creating a gem that contains rails models

I've been reading a lot on the topic and nothing seems to quite cover my needs. I'm sorry if I'm …

ruby-on-rails plugins model gem rails-engines
Rails engine / How to use seed?

I have created a Rails Engine. I am having trouble using the seed command, if I run rake db:seed …

ruby-on-rails rails-engines seed