aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-292-3/+8
| | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
* Just inspect load paths to generate the documentation.José Valim2010-03-301-6/+1
|
* Revert "Ruby 1.9: use ruby-debug19. [#3949 state:resolved]"wycats2010-03-301-1/+1
| | | | | | | This wasn't the issue here; we need to beef up the docs and speak to Wayne and Mark about installation. This reverts commit da238dafd7c242eb75ae37e6243b61baf763e3d0.
* Ruby 1.9: use ruby-debug19. [#3949 state:resolved]Jeremy Kemper2010-03-301-1/+1
|
* Work without bundlerJeremy Kemper2010-03-291-31/+46
|
* Revert "Ruby 1.9: use ruby-debug19. [#3949 state:resolved]"wycats2010-03-291-1/+1
| | | | | | | This wasn't the issue here; we need to beef up the docs and speak to Wayne and Mark about installation. This reverts commit da238dafd7c242eb75ae37e6243b61baf763e3d0.
* Ruby 1.9: use ruby-debug19. [#3949 state:resolved]Jeremy Kemper2010-03-291-1/+1
|
* Revert "Update USAGE docs for generators."José Valim2010-03-296-6/+6
| | | | This reverts commit d31e03f3566471f2ad04dc6dace889fae962f7a8.
* Revert "Reorganized app/test directory. [#3057 state:resolved]"José Valim2010-03-2924-103/+50
| | | | This reverts commit a0dc6755db71b33aebccdb95fd0dd7097c934c04.
* Make Railties RDoc task work again [#4291 state:resolved]Andrew White2010-03-281-6/+2
| | | Signed-off-by: wycats <wycats@gmail.com>
* Update USAGE docs for generators.Rizwan Reza2010-03-286-6/+6
|
* Reorganized app/test directory. [#3057 state:resolved]Rizwan Reza2010-03-2824-50/+103
| | | | | | | | | | 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
* preinitializer.rb is no longer needed, so remove it from the guide and ↵wycats2010-03-281-9/+7
| | | | replace with better suggestion. [#4279 state:resolved]
* Updated asset_template_path to asset_path and have it also support a String ↵wycats2010-03-281-1/+1
| | | | [#4247 state:resolved]
* Allow customisation of asset path generation using a proc.Craig R Webster2010-03-281-0/+2
| | | | | | | | | | | | | | | | Set config.action_controller.asset_path_template to a proc that takes one argument - the direct, unchanged asset path - and returns a path to that asset using the scheme that your assets require. This is useful if you have a setup which scales by introducing new application servers where the mtime of the asset files may not be the same as those of the asset files on your previous servers, but it does require your web servers to have knowledge of the asset template paths that you rewrite to so it's not suitable for out-of-the-box use. An example of configuring asset path generation and rewriting these paths using Apache is included in actionpack/lib/action_view/helpers/asset_tag_helper.rb. Signed-off-by: wycats <wycats@gmail.com>
* 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>
* Merge remote branch 'rizwan/restrict'wycats2010-03-281-0/+1
|\
| * adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
| |
* | Rails 3 application can run performance tests now. [#4171 state:resolved]Rizwan Reza2010-03-281-1/+1
|/
* Fixes typo in environments/production.rb template.watsonian2010-03-271-1/+1
|
* Do not check for a valid const name in Rails 3.0 applications. [#4200 ↵José Valim2010-03-271-1/+2
| | | | state:resolved]
* Make X-Sendfile default to "" so it works correctly in dev mode.wycats2010-03-262-43/+45
| | | | | Provide a default in production.rb that can be modified, so that people who care about sendfile performance in production mode can get better performance easily.
* Merge branch 'master' into docrailswycats2010-03-26192-320/+343
|\
| * Just assert for 'Hi' in generated mailer tests.José Valim2010-03-261-1/+1
| |
| * Move application configuration to the application configuration object, ↵José Valim2010-03-267-106/+79
| | | | | | | | remove railtie_name and engine_name and allow to set the configuration object.
| * Revert "find railties and engines by name [4264 state:resolved]"José Valim2010-03-262-29/+0
| | | | | | | | This reverts commit 7b8399b80cfff58cfe2313187ca3c803de8c8955.
| * Make script/dbconsole work with oracle (sqlplus ↵Edgars Beigarts2010-03-261-0/+12
| | | | | | | | | | | | <username>[/<password>][@<connect_identifier>]) [#3773 state:resolved]
| * Improve heuristic for railties default name, otherwise railties may be named ↵José Valim2010-03-263-8/+19
| | | | | | | | :railtie, :engine and so on.
| * find railties and engines by name [4264 state:resolved]Josh Susser2010-03-262-0/+21
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * init.rb in plugins is here to staywycats2010-03-235-54/+22
| |
| * Ensure lib/rails/initializers/*.rb also works for gems.José Valim2010-03-235-50/+42
| |
| * Load plugin initializers from lib/rails/initializers/*.rbJoshua Peek2010-03-232-6/+46
| |
| * Explicitly require files before monkey patching them.José Valim2010-03-231-1/+5
| |
| * updated Rakefile with new app generator path [#4258 state:resolved]Sebastian Martinez2010-03-231-4/+4
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * 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>
| * bin/rails should use the new app generator path.José Valim2010-03-231-1/+1
| |
| * Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-23161-42/+42
| | | | | | | | former since it's less obstrusive.
| * No -rubygems neededwycats2010-03-221-1/+1
| |
| * Provide a better error if thor is missingwycats2010-03-221-1/+9
| |
| * Controller generators should use routes shortcut.José Valim2010-03-222-2/+2
| |
| * Killing fixtures in mailer before they kill me (they usually lead to very ↵José Valim2010-03-225-20/+11
| | | | | | | | brittle tests).
| * Also revert mailer generator test changes in 8b50f89Jeremy Kemper2010-03-211-2/+2
| |
| * Fix regression introduced in 8b50f89. Generated views mentioned the wrong path.Jeremy Kemper2010-03-212-4/+5
| |
| * do not support 'data-url' anymore, just use 'href' [#4236 state:resolved]Sebastian Martinez2010-03-211-2/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Make ERB generators more flexible and customizable.José Valim2010-03-215-46/+38
| |
| * Remove invalid builtin tests since we aren't adding that dir to theJoshua Peek2010-03-201-18/+0
| | | | | | | | load path anymore
| * Autoload Rails::InfoJoshua Peek2010-03-205-8/+3
| |
| * Require info controller from info routesJoshua Peek2010-03-202-0/+4
| |