aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Notice/alert are out of the layout, so notice has to go back into show to ↵David Heinemeier Hansson2010-04-091-0/+2
| | | | make it work for scaffolding
* Use thor shorthand for indicating that application.html.erb is a templateJeremy Kemper2010-04-093-6/+1
|
* Partially revert "A new application now comes with a layout and a stylesheet."Jeremy Kemper2010-04-098-1/+18
| | | | | | | | | This reverts commit ea2c5fa8046e2f953b366adc94f0610ccfea0828. Conflicts: railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb railties/test/generators/app_generator_test.rb
* Include app name in layout titleJeremy Kemper2010-04-092-5/+11
|
* Discourage << as public API, much less configJeremy Kemper2010-04-091-1/+1
|
* Layout contents are html-safeJeremy Kemper2010-04-091-1/+1
|
* Trim application.html.erb fatJeremy Kemper2010-04-091-5/+1
|
* Still use the directory command and also remove the fixture comments.José Valim2010-04-092-13/+3
|
* Don't include fixtures if --skip-activerecord is givenSantiago Pastorino2010-04-092-1/+13
|
* db:test:prepare for tasks only if AR is loadedSantiago Pastorino2010-04-091-7/+11
|
* Update rails.js to the latest one at http://github.com/rails/prototype-ujsJosé Valim2010-04-081-32/+41
|
* Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵José Valim2010-04-082-3/+4
| | | | 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 Lindsaar2010-04-081-0/+4
| | | | | | rake tasks etc Signed-off-by: José Valim <jose.valim@gmail.com>
* Alleviate the pain in working with utf8 templates by setting a default encoding.José Valim2010-04-072-7/+18
|
* Use raw in yield since templates engines should not be required to html_safe ↵José Valim2010-04-061-1/+1
| | | | their contents.
* Remove :layout option from generators.José Valim2010-04-062-6/+0
|
* Update the documentation for Engine and Railtie.José Valim2010-04-052-29/+7
|
* A new application now comes with a layout and a stylesheet.José Valim2010-04-0612-41/+19
|
* It seems the test directory backtrace line is output with a / before it, ↵Ryan Bigg2010-04-051-1/+1
| | | | | | thereby previously making it not match the regex. Support APP_DIRS that have backtrace lines maybe beginning with /. [#4277 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-051-1/+1
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* Remove app/views from the load paths [#4226 state:resolved]José Valim2010-04-052-6/+18
|
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-059-16/+33
| | | | configuration in request.env. This is another step forward removing global configuration.
* Merge commit 'rails/master'Xavier Noria2010-04-033-2/+6
|\
| * Fixing index style [#4313 state:committed]Santiago Pastorino2010-04-021-1/+2
| | | | | | | | Signed-off-by: wycats <wycats@gmail.com>
| * Raise exceptions instead of rendering error templates in test environment ↵Rolf Bjaanes2010-04-022-1/+4
| | | | | | | | | | | | [#4315 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Merge branch 'master' of git://github.com/rails/railsRizwan Reza2010-04-024-7/+17
|\|
| * Prep for beta2, depend on latest BundlerDavid Heinemeier Hansson2010-04-011-1/+1
| |
| * Missed __FILE__Jeremy Kemper2010-03-311-1/+1
| |
| * To skip bundler, `rm Gemfile`. Create a Gemfile to use it again.Jeremy Kemper2010-03-313-14/+15
| |
| * Add --skip-bundler option to rails application generatorJoshua Peek2010-03-313-1/+10
| | | | | | | | | | NOTE: This does not fix the bundler activation issue. The "bundler" gem will still be installed and activated when you install rails.
* | Merge commit 'rails/master'Xavier Noria2010-03-319-48/+67
|\|
| * Create tmp directories if required before starting server [#3907 state:resolved]Ravinder Singh2010-03-311-0/+5
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Missed a few spots in railtiesJoshua Peek2010-03-301-1/+1
| |
| * Bring rdoc tasks back to plugins.José Valim2010-03-301-0/+13
| |
| * Remove deprecated model_subclass since it was never published.José Valim2010-03-301-12/+0
| |
| * 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
| |
| * 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-2913-74/+23
| | | | | | | | This reverts commit a0dc6755db71b33aebccdb95fd0dd7097c934c04.
| * Update USAGE docs for generators.Rizwan Reza2010-03-286-6/+6
| |
| * Reorganized app/test directory. [#3057 state:resolved]Rizwan Reza2010-03-2813-23/+74
| | | | | | | | | | | | | | | | | | | | 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