aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Class variables has been fixed to Singleton instance variables at Rails moduleRoman V. Babenko2012-04-061-7/+7
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-052-14/+13
|\
| * minor fixes [ci skip]Vijay Dev2012-04-051-2/+2
| |
| * added example, removed blank linesHrvoje Šimić2012-04-042-14/+13
| |
* | Merge pull request #5716 from jurriaan/tr-gsub-cleanupSantiago Pastorino2012-04-043-3/+3
|\ \ | |/ |/| Updated/changed unneeded tr/gsubs
| * Updated/changed useless tr/gsubsJurriaan Pruis2012-04-033-3/+3
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-041-1/+1
|\ \ | | | | | | | | | | | | Conflicts: guides/source/engines.textile
| * | Correct invalid route example [ci skip]Cezary Baginski2012-04-021-1/+1
| | |
* | | use File.binread to pull in the schema cacheAaron Patterson2012-04-031-1/+1
| |/ |/|
* | Merge pull request #5708 from romanvbabenko/refactor/add_gem_filtersAaron Patterson2012-04-021-1/+1
|\ \ | | | | | | Unnecessary uniqueness & force mapping has been removed at BacktraceClea...
| * | Unnecessary uniqueness & force mapping has been removed at ↵Roman V. Babenko2012-04-031-1/+1
| |/ | | | | | | BacktraceCleaner#add_gem_filters
* | Usage file in generators shouldn't be fetched only based on source_rootPiotr Sarnacki2012-04-011-4/+17
| | | | | | | | | | | | | | | | In case `source_roout` is not set, `default_source_root` is used, which includes also `templates` directory. If there is no `templates` directory, `default_source_root` is not available and USAGE will not be displayed. USAGE should be also checked based on default directory excluding `templates`.
* | Merge pull request #5684 from arunagw/warning_removed_railtiesVijay Dev2012-04-011-1/+1
|\ \ | |/ |/| warning removed: `&' interpreted as argument prefix
| * warning removed: `&' interpreted as argument prefixArun Agrawal2012-03-311-1/+1
| |
* | Remove not needed requiresSantiago Pastorino2012-03-311-1/+0
|/
* use tsort_each to avoid intermediary arrayAaron Patterson2012-03-301-1/+1
|
* Define Paths::Root#[]= in terms of #add.Ben Woosley2012-03-291-2/+1
|
* Drop Paths::Root initializer check of #path as it isn't checked in the ↵Ben Woosley2012-03-291-1/+0
| | | | #path= or anywhere else
* Drop unnecessary require in Rails::PathsBen Woosley2012-03-291-2/+0
|
* clarification to prevent confusing newbies; Passenger/Unicorn are app ↵Michael de Silva2012-03-281-1/+1
| | | | servers, Apache/Nginx are the web servers along with thin a la Heroku etc.
* Merge pull request #5630 from andhapp/fix-config-asset-manifestSantiago Pastorino2012-03-281-1/+1
|\ | | | | Changed the config.assets.manifest to nil
| * Changed the config.assets.manifest to nil in the comments in the production ↵Anuj Dutta2012-03-281-1/+1
| | | | | | | | config template.
* | Rails.initialized? can be called at any time without raising an exception ↵Franck Verrot2012-03-282-5/+5
|/ | | | | | | | | | [Closes #2507] Changes: * `Rails.initialized=` has been removed * `Rails.initialized?` and `Rails.application.initialized?` are now * delegating to `MyApp::Application.initialized?`
* favor composition over inheritanceAaron Patterson2012-03-261-5/+20
|
* favor composition over inheritanceAaron Patterson2012-03-261-7/+29
|
* still need to ensure the path is a directoryAaron Patterson2012-03-261-1/+1
|
* eliminating a branch we do not need. thanks @jeremyAaron Patterson2012-03-261-30/+3
|
* stop using *args in order to simplify our constructorAaron Patterson2012-03-261-5/+4
|
* Don't depend on ivars. Thanks @fesplugasAaron Patterson2012-03-261-1/+1
|
* Remove useless conditional.Pete Higgins2012-03-251-7/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-241-1/+1
|\ | | | | | | | | Conflicts: guides/source/ruby_on_rails_guides_guidelines.textile
| * Adding comma to correct syntax in comment.Jesse Brown2012-03-191-1/+1
| |
* | chdir before globbing so that we don't need to escape directory names.Aaron Patterson2012-03-231-1/+30
| | | | | | | | fixes #5521
* | Merge pull request #5550 from schneems/schneems/server_envAaron Patterson2012-03-232-0/+18
|\ \ | | | | | | Fix environment support for rails server, and match interface of rails console
| * | match rails console environment support, to serverschneems2012-03-221-0/+13
| | | | | | | | | | | | rails server takes `-e` as an argument to specify RAILS_ENV, rails console currently does not have the same interface. This commit fixes this disparity so developers can manually specify `RAILS_ENV` or can pass in an environment with a `-e`.
| * | fix rails server support of RAILS_ENV variableschneems2012-03-201-0/+5
| |/ | | | | | | | | | | | | When launching rails server from the command line with a rails environment specified such as `rails server RAILS_ENV=production` an error would occur since rails will try to use `RAILS_ENV=production` as it's server. When launching rails with a specified server such as thin `rails server thin RAILS_ENV=production` no error will be thrown, but rails will not start up in the specified environment. This fixes both of those cases
* / Fixed missing space bug introduces in ↵Anton Lindqvist2012-03-221-1/+1
|/ | | | rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940.
* Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform onlyPiotr Sarnacki2012-03-171-1/+1
|
* Rack::SSL -> ActionDispatch::SSLRafael Mendonça França2012-03-171-2/+1
|
* Simplify helpers handling. Ensure Metal can run AC hooks.José Valim2012-03-151-1/+1
|
* Remove remaining http_only? calls.José Valim2012-03-142-14/+4
|
* Remove --http.José Valim2012-03-1410-179/+7
|
* Fix scaffold controller template, ensure rake scaffold test pass by defaultCarlos Antonio da Silva2012-03-141-2/+2
|
* Do not generate app/views and sprockets entries on http appCarlos Antonio da Silva2012-03-141-0/+5
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Generate special controller and functional test templates for http appsCarlos Antonio da Silva2012-03-147-4/+128
| | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino]
* Rename http-only app generator option to httpCarlos Antonio da Silva2012-03-143-5/+5
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Move http only option to AppGeneratorCarlos Antonio da Silva2012-03-142-3/+3
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Allow generator configs from http_only! to be overriden by appCarlos Antonio da Silva2012-03-141-1/+1
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Refactor http_only, remove reader methodCarlos Antonio da Silva2012-03-141-14/+19
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Disable template, helper and assets options when using http_only!Carlos Antonio da Silva2012-03-141-1/+14
| | | | [Carlos Antonio da Silva & Santiago Pastorino]