1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties
Piotr Sarnacki cf992fba95 Fix railties_order when application object is passed
railites_order method, introduced in 40b19e0, had a bug that was causing
loading application instance twice in initializers if railties_order
already included application instance. So for example

    railties_order = [Foo::Engine, :main_app, Bar::Engine]

would result in such railties array:

    [MyApp::Application, Foo::Engine, MyAppApplication, Bar::Engine]

In order to fix it, we need to check for existence of application in
both railties_order and railties arrays.
2012-05-27 14:26:13 +02:00
..
bin Just provide the executable for railtie. This should be fine since Rubygems now warns before overriding them. 2011-09-12 09:05:11 -07:00
lib Fix railties_order when application object is passed 2012-05-27 14:26:13 +02:00
test Fix railties_order when application object is passed 2012-05-27 14:26:13 +02:00
.gitignore
CHANGELOG.md /rails/info/routes path shows routing information 2012-05-24 12:50:16 -05:00
MIT-LICENSE Updated copyright notices for 2012 2011-12-31 20:30:08 +00:00
railties.gemspec Add license field to gemspecs, by Matt Griffin 2012-05-23 09:22:25 -07:00
Rakefile Remove useless load path modifications 2012-05-11 19:00:35 -03:00
README.rdoc Added link to MIT license. Would love commentary on whether this seems appropriate. 2011-12-22 21:12:08 -08:00

= Railties -- Gluing the Engine to the Rails

Railties is responsible for gluing all frameworks together. Overall, it:

* handles the bootstrapping process for a Rails application;

* manages the +rails+ command line interface;

* and provides the Rails generators core.


== Download

The latest version of Railties can be installed with RubyGems:

* gem install railties

Source code can be downloaded as part of the Rails project on GitHub

* https://github.com/rails/rails/tree/master/railties

== License

Railties is released under the MIT license:

* http://www.opensource.org/licenses/MIT

== Support

API documentation is at

* http://api.rubyonrails.org

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://github.com/rails/rails/issues