Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reverts changes to Rails.version made in #8501 | Charlie Somerville | 2013-03-30 | 1 | -0/+4 |
| | |||||
* | remove references to *::VERSION, replace with *.version | Charlie Somerville | 2013-03-21 | 1 | -4/+0 |
| | |||||
* | Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵ | Jeremy Kemper | 2012-12-21 | 1 | -19/+0 |
| | | | | with Rails 4.0. | ||||
* | Revert "Make sure that RAILS_ENV is set when accessing Rails.env" | Andy Lindeman | 2012-12-21 | 1 | -4/+1 |
| | | | | | | | | This reverts commit b3125c89f42968bec6ee0b92ab93e36dbc36d5c3. * It is not desirable to set `ENV['RAILS_ENV']`; otherwise, it will leak through to rake tasks such as `rake test` or `rake spec`. See #7175 for more details. | ||||
* | Use Rails to Render Default Index Page | schneems | 2012-12-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | This is an alternative implementation to #7771 thanks to the advice of @spastorino Rails is a dynamic framework that serves a static index.html by default. One of my first questions ever on IRC was solved by simply deleting my public/index.html file. This file is a source of confusion when starting as it over-rides any set "root" in the routes yet it itself is not listed in the routes. By making the page dynamic by default we can eliminate this confusion. This PR moves the static index page to an internal controller/route/view similar to `rails/info`. When someone starts a rails server, if no root is defined, this route will take over and the "dynamic" index page from rails/welcome_controller will be rendered. These routes are only added in development. If a developer defines a root in their routes, it automatically takes precedence over this route and will be rendered, with no deleting of files required. In addition to removing this source of confusion for new devs, we can now use Rails view helpers to build and render this page. While not the primary intent, the added value of "dogfooding" should not be under-estimated. The prior PR #7771 had push-back since it introduced developer facing files. This PR solves all of the same problems, but does not have any new developer facing files (it actually removes one). cc/ @wsouto, @dickeyxxx, @tyre, @ryanb, @josevalim, @maxim, @subdigital, @steveklabnik ATP Railties and Actionpack. | ||||
* | Use attr_accessor for Rails.{application,cache,logger} | Bjørn Arild Mæland | 2012-12-01 | 1 | -23/+1 |
| | |||||
* | Make sure that RAILS_ENV is set when accessing Rails.env | Steve Klabnik | 2012-10-31 | 1 | -1/+4 |
| | | | | Fixes #8025 | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | Make Rails.public_path return a Pathname | Prem Sichanugrist | 2012-10-02 | 1 | -1/+1 |
| | |||||
* | Move queue classes to ActiveSupport | Santiago Pastorino | 2012-09-14 | 1 | -1/+0 |
| | |||||
* | Removing ==Examples and last blank lines of docs from railties | Francesco Rodriguez | 2012-05-14 | 1 | -3/+0 |
| | |||||
* | Initial queue implementation | Yehuda Katz | 2012-04-26 | 1 | -0/+20 |
| | |||||
* | Class variables has been fixed to Singleton instance variables at Rails module | Roman V. Babenko | 2012-04-06 | 1 | -7/+7 |
| | |||||
* | Rails.initialized? can be called at any time without raising an exception ↵ | Franck Verrot | 2012-03-28 | 1 | -5/+1 |
| | | | | | | | | | | [Closes #2507] Changes: * `Rails.initialized=` has been removed * `Rails.initialized?` and `Rails.application.initialized?` are now * delegating to `MyApp::Application.initialized?` | ||||
* | Deprecate RAILS_CACHE constant. | kennyj | 2012-01-18 | 1 | -1/+6 |
| | |||||
* | Get rid of more 1.8.x dead code | José Valim | 2011-12-20 | 1 | -12/+3 |
| | |||||
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger | Aaron Patterson | 2011-12-19 | 1 | -1/+0 |
| | | | | from Ruby stdlib. | ||||
* | we are *sure* we want to set the encoding, so silence warnings around it | Aaron Patterson | 2011-08-24 | 1 | -2/+4 |
| | |||||
* | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 1 | -1/+1 |
| | | | | | | English to American English(according to Weber) | ||||
* | Make Rails.groups accept arrays. | José Valim | 2011-07-10 | 1 | -3/+6 |
| | |||||
* | Add Rails.groups to encapsulate available groups for require. | José Valim | 2011-06-21 | 1 | -0/+23 |
| | |||||
* | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -1/+1 |
| | | | | method_missing. | ||||
* | Removed most of deprecated stuff from Application and Engine | Piotr Sarnacki | 2010-09-03 | 1 | -5/+0 |
| | |||||
* | Remove constants deprecation. | José Valim | 2010-08-29 | 1 | -1/+0 |
| | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -1/+0 |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | ||||
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 1 | -1/+1 |
| | | | | not "ActiveRecord" | ||||
* | Single ruby version requirement message | Jeremy Kemper | 2010-06-11 | 1 | -1/+2 |
| | |||||
* | Revert "Moved encoding work in progress to a feature branch." | wycats | 2010-05-17 | 1 | -0/+1 |
| | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517. | ||||
* | Moved encoding work in progress to a feature branch. | Jeremy Kemper | 2010-05-16 | 1 | -1/+0 |
| | | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c. | ||||
* | Significantly improved internal encoding heuristics and support. | wycats | 2010-05-16 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable | ||||
* | Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵ | José Valim | 2010-04-08 | 1 | -2/+3 |
| | | | | started in another directory which is not the RAILS_ROOT. | ||||
* | Adding Rails.env= to railties to allow changing of rails env on the fly for ↵ | Mikel Lindsaar | 2010-04-08 | 1 | -0/+4 |
| | | | | | | rake tasks etc Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Autoload Rails::Info | Joshua Peek | 2010-03-20 | 1 | -0/+3 |
| | |||||
* | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -1/+1 |
| | |||||
* | Add active_model/railtie back to generated boot.rb, add models back to ↵ | José Valim | 2010-01-25 | 1 | -0/+1 |
| | | | | paths, load active_support/railtie since we need it and ensure default logger is set before config. | ||||
* | Move configuration to subfolders. | José Valim | 2010-01-23 | 1 | -8/+0 |
| | |||||
* | Plugin is now an Engine. | José Valim | 2010-01-23 | 1 | -1/+1 |
| | |||||
* | Ensure user set load paths have higher preference and move Bootstrap inside ↵ | José Valim | 2010-01-23 | 1 | -1/+0 |
| | | | | Application. | ||||
* | Get rid of initializers global and create i18n railtie. | José Valim | 2010-01-23 | 1 | -2/+1 |
| | |||||
* | Massive cleanup in Railties and load stack. | José Valim | 2010-01-21 | 1 | -1/+2 |
| | |||||
* | Add ActionDispatch::Railties::Subscriber and finish tidying up the logging. | José Valim | 2010-01-17 | 1 | -2/+3 |
| | |||||
* | Allow to add subscribers through Railtie. | José Valim | 2010-01-13 | 1 | -0/+1 |
| | |||||
* | As the other constants, RAILS_DEFAULT_LOGGER no more. | José Valim | 2010-01-13 | 1 | -13/+8 |
| | |||||
* | Get everyone running on Rails.env and fix the broken environment settings ↵ | David Heinemeier Hansson | 2010-01-11 | 1 | -3/+1 |
| | | | | for script/console and script/dbconsole | ||||
* | Run railtie and plugin initializers before app specific ones | Joshua Peek | 2010-01-07 | 1 | -0/+2 |
| | |||||
* | Some railties cleanup: | Carl Lerche | 2009-12-31 | 1 | -0/+1 |
| | | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin | ||||
* | Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb | Carl Lerche | 2009-12-31 | 1 | -14/+104 |
| | |||||
* | Add a /rails.rb for each framework for consistency | Carl Lerche | 2009-12-31 | 1 | -2/+8 |
| | |||||
* | tests pass with requiring the frameworks in rails.rb | Carlhuda | 2009-12-23 | 1 | -33/+9 |
| | |||||
* | Add the ability for plugins to set default configuration settings. | Carl Lerche | 2009-12-15 | 1 | -2/+3 |
| |