Agile Web Development

Build it. Launch it. Love it.

Engines

Rails Engines are a way of dropping in whole chunks of functionality into your existing application without affecting any of your existing code. The could also be described as mini-applications, or vertical application slices - top-to-bottom units which provide full MVC coverage for a certain, specific application function.

As an example, the Login Engine provides a full user login subsystem, including:

  • controllers to manage user accounts;
  • helpers for you to interact with account information from other parts of your application;
  • the model objects and schemas to create the required tables;
  • stylesheets and javascript files to enhance the views;
  • and any other library files required.

Vitals

Home http://www.rails-engines.org/
Repository http://svn.rails-engines.org/plugins/engines
License Rails' (MIT)
Tags Tag_red 11 qq
Rating (22 votes)
Owner James Adam
Created 14 April 2006

Comments

  • 5 May 2007

    The idea sounds great, but it lacks convincing examples.

  • Tito
    26 February 2008

    Is there continuity with this project? Somebody working with it?

  • julez edward
    5 March 2008

    => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Starting Mongrel listening at 0.0.0.0:3000 Starting Rails with development environment... Exiting /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method': undefined methodload_plugin' for class `Rails::Initializer' (NameError)

    from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain'
    from /Users/PPC/Documents/ror_projects/cube/vendor/plugins/engines/lib/engines/rails_extensions/rails_initializer.rb:26:in `included'
    from /Users/PPC/Documents/ror_projects/cube/vendor/plugins/engines/lib/engines/rails_extensions/rails_initializer.rb:25:in `class_eval'
    from /Users/PPC/Documents/ror_projects/cube/vendor/plugins/engines/lib/engines/rails_extensions/rails_initializer.rb:25:in `included'
    from /Users/PPC/Documents/ror_projects/cube/vendor/plugins/engines/lib/engines/rails_extensions/rails_initializer.rb:86:in `include'
    from /Users/PPC/Documents/ror_projects/cube/vendor/plugins/engines/lib/engines/rails_extensions/rails_initializer.rb:86:in `send'
    from /Users/PPC/Documents/ror_projects/cube/vendor/plugins/engines/lib/engines/rails_extensions/rails_initializer.rb:86
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
     ... 43 levels...
    from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from script/server:3
    
  • 5 March 2008

    julez: please report problems on the mailing lists, and we'll see what we can figure out. It sounds like you might have mismatched the version of Rails with the revision of the engines plugin though

    Tito: the plugin is still being maintained, yes.

Add a comment