aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks.rb
Commit message (Collapse)AuthorAgeFilesLines
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* load yarn.rakeyuuji.yaginuma2017-01-181-0/+1
| | | | Follow up to b1c08d8d9b921fdcf3813b5c20a0c3fab96eccca
* applies new string literal convention in railties/libXavier Noria2016-08-061-2/+2
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* revert dev:cache to rake task, fixes #23410Scott Bronson2016-02-071-0/+1
|
* Add Rails command infrastructure and encapsulate development cachingChuck Callebs2015-12-041-1/+0
|
* Only load statistics.rake once from inside engineErsin Akinci2015-08-061-2/+3
| | | | | | | | | | | | | | When running rake stats from inside an engine, the engine's Rakefile attempts to reload statistics.rake after the test app loads it, which results in STATS_DIRECTORIES being redefined and an annoying warning. This patch skips loading statistics.rake from tasks.rb if rake's current scope isn't empty, i.e. if we are running from inside an engine and not the test app dir or a normal app. Fixes #20510.
* Add rake dev:cache task to enable dev mode caching.Chuck Callebs2015-08-041-0/+1
| | | | | | | | | | | | | | | | Taken from @Sonopa's commits on PR #19091. Add support for dev caching via "rails s" flags. Implement suggestions from @kaspth. Remove temporary cache file if server does not have flags. Break at 80 characters in railties/CHANGELOG.md Remove ability to disable cache based on server options. Add more comprehensive options: --dev-caching / --no-dev-caching
* `rake initializer` -> `rake initializers`Godfrey Chan2015-03-201-1/+1
| | | | | | Also edited the copy to be more consistent with `rake routes`. See #19323.
* Add `rake initializer`Naoto Kaneko2015-03-141-0/+1
| | | | | This task prints out initializers for an application. It is useful to develop a rubygem which involves the initialization process.
* Created rake restart task.Hyonjee Joo2015-02-261-0/+1
| | | | | | Fixes #18876. Rake restart touches `tmp/restart.txt` to restart application on next request. Updated tests and documentation accordingly.
* Remove reference to the now done documentation.rakeXavier Noria2015-02-061-1/+0
|
* require 'rake' before requiring Rake tasksAkira Matsuda2014-12-031-0/+2
| | | | | | Without this, % rails r "require 'rails/tasks'" would cause a NoMethodError: undefined method `desc' for main:Object
* Remove $VERBOSE = nil from tasks.rbTyler Rick2013-07-251-2/+0
| | | | | | Permanently setting $VERBOSE to nil causes unwanted side effects (warnings generated by app code are silenced when triggered by a rake task but visible otherwise). silence_warnings {} would be safer to use here since it resets $VERBOSE back to what it was when the block finishes.
* Fxied some typosPrathamesh Sonpatki2013-05-181-1/+1
|
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-1/+0
| | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* Remove the ability for engines to serve assets from the public directory.José Valim2011-04-151-1/+0
|
* Need to load assets task fileJoshua Peek2011-03-211-0/+1
|
* Added task for creating symlinks to engines' public directoriesPiotr Sarnacki2010-09-061-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Test::Unit Railtie Carlhuda2010-01-281-1/+0
|
* Move the ActiveRecord related rake tasks into the AR gem.Carl Lerche2009-12-281-1/+0
|
* Load application specific rake tasks in the application objectCarl Lerche2009-11-251-5/+0
|
* Remove config.gem in favor of using the bundler. This makes config/boot.rb ↵Carl Lerche2009-10-161-1/+0
| | | | | | obsolete. The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem.
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-2/+2
| | | | application's object root)
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+24