aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks
Commit message (Collapse)AuthorAgeFilesLines
...
* Added foo:install:assets task that copies assets from plugins public ↵Piotr Sarnacki2010-10-141-0/+28
| | | | | | | | | | | directory to application's public directory This is the most simple and naive approach: just copy every files from engine to app. The only exception is when file has changed, in that case developer will be asked if he wants to rename the field. There is no need to make this task more sophisticated as 3.1 will be shipped with better assets handling and it will be the default way to handle things.
* -j parameter added to rails new command.siong19872010-10-111-1/+1
| | | | | | | | Now you can start your apps with jquery with rails new myapp -j jquery, the default is still prototype [#5613 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Updated DOCS for engines and added a couple TODOs. Also, commented internal ↵José Valim2010-10-111-1/+1
| | | | railties rake tasks description.
* Fixed rake task description typoVesa Vänskä2010-10-081-1/+1
|
* Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-061-1/+1
| | | | method_missing.
* revision of typo: crytographically [#5566 state:resolved]ISHIKAWA Takayuki2010-09-071-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Added task for creating symlinks to engines' public directoriesPiotr Sarnacki2010-09-061-0/+20
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove deprecation warnings in railtiesCarlos Antonio da Silva2010-09-061-17/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make rake routes gracefully handle routes with no nameSam Ruby2010-08-291-5/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Ensure we are not calling length on nil.José Valim2010-08-281-5/+4
|
* Read the route name directly from the route instead of looking it up in the ↵Andrew White2010-08-271-7/+1
| | | | | | named routes hash Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove rails info route from rake routes output [#5452 state:resolved]Andrew White2010-08-251-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Hide internal apps from rake routes [#5443 state:resolved]José Valim2010-08-241-1/+1
|
* Improve routes task code and print the application as :to => RackApp. [#5338 ↵José Valim2010-08-151-12/+24
| | | | state:resolved]
* make rake routes print the name of a Rack endpoint app [#5338 state:resolved]Mark Turner2010-08-151-3/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-4/+4
| | | | 's/[ \t]*$//' -i {} \;)
* the main page of the API generated by the doc:rails task is READMEXavier Noria2010-07-301-1/+1
|
* Fix app generator so that it uses the right app_name during rails:update ↵rohit2010-07-271-1/+1
| | | | | | rake task. [#5207 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Change some missing README -> README.rdocSantiago Pastorino2010-07-221-8/+8
|
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-012-2/+2
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Cut down even further on rake -T noiseDavid Heinemeier Hansson2010-06-092-10/+41
|
* Cut down on tasks shown in rake -TDavid Heinemeier Hansson2010-06-095-21/+21
|
* Remove the laziness from the middleware stack.José Valim2010-06-031-1/+1
|
* Removing Metal from Rails 3.wycats2010-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | If you have existing Metals, you have a few options: * if your metal behaves like a middleware, add it to the middleware stack via config.middleware.use. You can use methods on the middleware stack to control exactly where it should go * if it behaves like a Rack endpoint, you can link to it in the router. This will result in more optimal routing time, and allows you to remove code in your endpoint that matches specific URLs in favor of the more powerful handling in the router itself. For the future, you can use ActionController::Metal to get a very fast controller with the ability to opt-in to specific controller features without paying the penalty of the full controller stack. Since Rails 3 is closer to Rack, the Metal abstraction is no longer needed.
* Add some comments related to Hash method check.José Valim2010-05-161-0/+3
|
* Fix Hash#index deprecated warning in 1.9.x [#4600 state:resolved]Aleksandr Koss2010-05-161-1/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Added Rake task rails:templates:copy to copy templates for customization ↵Jeroen van Dijk + Rodrigo Urubatan2010-05-151-0/+22
| | | | | | [#4574 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure application rake tasks and generators are loaded after the ones ↵José Valim2010-04-261-0/+2
| | | | specified in railties/engines/rails. [#4471 state:resolved]
* periods are not metacharacters within character classesXavier Noria2010-03-301-1/+1
|
* Remove if/else branch when generating the documentation since we are simply ↵José Valim2010-03-301-52/+37
| | | | inspecting the load path.
* Changed gem_path to yield the path found in $LOAD_PATH to a block.postmodern2010-03-301-15/+33
| | | | | | | * This allows gems not found in $LOAD_PATH to be safely ignored by the rails documentation task. Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix syntax error and avoid the use of unless/else.Michael Koziarski2010-03-301-8/+9
|
* Just inspect load paths to generate the documentation.José Valim2010-03-301-6/+1
|
* Work without bundlerJeremy Kemper2010-03-291-31/+46
|
* Revert "Reorganized app/test directory. [#3057 state:resolved]"José Valim2010-03-291-46/+1
| | | | This reverts commit a0dc6755db71b33aebccdb95fd0dd7097c934c04.
* Reorganized app/test directory. [#3057 state:resolved]Rizwan Reza2010-03-281-1/+46
| | | | | | | | | | Run 'rake update:test_directory' to reorganize your already generated apps. test/functional -> test/controllers test/functional -> test/controllers test/unit/helpers -> test/helpers test/unit/**/*_observer_test.rb -> test/observers test/unit -> test/models
* Reapply Rizwan's patch, but memoize Bundler.load.specs in an ivar. [#3697 ↵Rizwan Reza2010-03-281-41/+34
| | | | | state:resolved] Signed-off-by: wycats <wycats@gmail.com>
* Do not check for a valid const name in Rails 3.0 applications. [#4200 ↵José Valim2010-03-271-1/+2
| | | | state:resolved]
* rake tasks should use the new app generator path [#4257 state:resolved]Sebastian Martinez2010-03-231-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Autoload Rails::InfoJoshua Peek2010-03-201-1/+0
|
* Move railties/builtin into libJoshua Peek2010-03-202-7/+7
|
* Deprecated framework rake tasks should exit with non-zero exit code [#4177 ↵Chris Griego2010-03-161-3/+3
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "Rake task for generating Rails documentation updated to support ↵Jeremy Kemper2010-03-111-33/+41
| | | | | | | | Bundler." Incredibly slow. Fix gem_path to not load the bundle fresh each call. This reverts commit 58796dcfc0d74fa3def752fa8b779f725f0747f0.
* Rake task for generating Rails documentation updated to support Bundler.Rizwan Reza2010-03-111-41/+33
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* If RAILS_PATH isn't set, make a dummy doc taskJeremy Kemper2010-03-071-32/+40
|
* rake doc:rails complains loudly if there's no path to generate docs fromJeremy Kemper2010-03-071-1/+3
|
* Leverage VERSION constants from gemspecs to avoid tedious updates when releasingBryan Helmkamp2010-03-021-1/+1
|
* Remove references to ActionDispatch::Routing::Routes in favor of ↵Carl Lerche2010-02-241-2/+2
| | | | Rails.appication.routes.
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-211-2/+2
|
* Also check if application is a valid constant in rake rails:update.José Valim2010-02-211-5/+11
|