aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Rename namespace method to isolate_namespace.Piotr Sarnacki2010-10-094-21/+21
| | | | | | | This change caused by confusion caused by calling engine "namespaced". Stuff inside engine can be namespaced for every engine. This method is not actually namespacing anything, it's isolating engine within the given namespace.
* Fix error in routing guide edit_photo_path needs the id as paramSantiago Pastorino2010-10-091-1/+1
|
* This test is not only testing config/database stuff anymoreSantiago Pastorino2010-10-091-1/+1
|
* test that skip active records does not load fixturesAditya Sanghi2010-10-091-0/+3
| | | | | | [#4104 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Test if test/performance/browsing_test.rb exists when --skip-activerecord is ↵Santiago Pastorino2010-10-091-0/+1
| | | | | | used [#4104]
* Fixing two minor errors in Rails::Generators::Actions initializer method ↵Juan Maiz2010-10-081-2/+2
| | | | | | | | comments [#5771 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Makes this code a bit more clearSantiago Pastorino2010-10-081-3/+3
|
* Remove the final initializers since initializers += will return it anyway. ↵Ryan Bigg2010-10-081-1/+0
| | | | | | [#3892 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix engines testPiotr Sarnacki2010-10-081-1/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Refactored routes reloading to use RouteSet#append instead keeping block in ↵Piotr Sarnacki2010-10-082-23/+9
| | | | | | Engine Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure rack body responds to each.José Valim2010-10-081-3/+2
|
* Fixed rake task description typoVesa Vänskä2010-10-081-1/+1
|
* Add "a" to make it better EnglishRyan Bigg2010-10-072-2/+2
| | | | | | [#3796 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-063-13/+15
|\
| * Fixed typo in engine documentationThomas McDonald2010-10-061-1/+1
| |
| * Section 6, table, typo (extra '.rb')Nicholas E. May (on Enterprise)2010-10-031-1/+1
| |
| * Section 4.3, wrong word used: 'contact' => 'content'Nicholas E. May (on Enterprise)2010-10-021-1/+1
| |
| * Section 3.3: '# bundle install' instead of just 'bundle install'Nicholas E. May (on Enterprise)2010-10-021-1/+1
| |
| * Section 3.2, table: 'README.rdoc' -> 'README'Nicholas E. May (on Enterprise)2010-10-021-1/+1
| |
| * Removed unnecessary 'the' in the '2.2.9 Active Suport' section of Getting ↵Nicholas E. May (on Enterprise)2010-10-021-1/+1
| | | | | | | | Started.
| * Action Mailer Basics guide - reformatted configuration tableJaime Iniesta2010-09-301-4/+4
| |
| * Action Mailer Basics guide - fixed typosJaime Iniesta2010-09-301-4/+6
| |
* | Fixes typoRafael Mendonça França2010-10-061-2/+2
| |
* | Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-0617-258/+345
| | | | | | | | method_missing.
* | Some initial docswycats2010-10-061-0/+7
| |
* | Delegate everything to the generatorwycats2010-10-061-14/+4
| |
* | Revert "Clean up the builder abstraction in AppGenerator."wycats2010-10-062-55/+260
| | | | | | | | | | | | | | The phrase "clean up" misrepresents the fact that this removes a feature that ships with Rails 3.0. This reverts commit 6774e12afa0f29442aa612ddf6e51d5a1b7a4356.
* | Clean up the builder abstraction in AppGenerator.José Valim2010-10-062-260/+55
| | | | | | | | This commit may be reverted once documentation and a proper way to handle actions are added.
* | adding test for namedspaced mailersAditya Sanghi2010-10-061-0/+9
| |
* | a couple of touches to the guides guidelinesXavier Noria2010-10-051-2/+1
| |
* | aaaaannnddd, your beloved typo only spotted in the github colored diff no ↵Xavier Noria2010-10-051-1/+1
| | | | | | | | matter how many passes you did before pushing
* | new guide: Ruby on Rails Guides GuidelinesXavier Noria2010-10-053-0/+83
| |
* | Don't expect an AD::Response object back from the app.José Valim2010-10-051-11/+10
| |
* | Use RbConfig instead of Config for 1.9.3 compatibility.José Valim2010-10-051-1/+1
| |
* | Link to rack from github for this while.José Valim2010-10-041-0/+3
| |
* | Update to Thor 0.14.3.José Valim2010-10-041-1/+1
| |
* | Add documentation on app_generatorsPiotr Sarnacki2010-10-031-0/+20
| |
* | Move ETag and ConditionalGet logic from AD::Response to the middleware stack.José Valim2010-10-032-22/+46
| |
* | Be more explicit about what is deprecated.José Valim2010-10-021-1/+1
| |
* | Deprecate generators in Railties. You should use app_generators instead.José Valim2010-10-023-30/+32
| |
* | :'' is not valid ruby.José Valim2010-10-021-1/+1
| |
* | reload_routes! is part of the public API and should not be removed.José Valim2010-10-023-3/+16
| |
* | Fix a routing test. Reorganize middleware tests.José Valim2010-10-027-151/+180
| |
* | brings csrf_meta_tags back to the generated layoutXavier Noria2010-10-022-2/+2
| | | | | | | | | | | | | | | | | | | | After more discussion, it has be agreed that this kind of changes within reasonable margins are OK for 3.1. That is, it is fine to change a little bit the generators even if that means examples in existing books won't be exact. (Note that the singular csrf_meta_tag exists as an alias and thus those outdated examples will run, same for existing applications.)
* | no need to check for nilNeeraj Singh2010-09-301-1/+1
| |
* | Add more information to comments.José Valim2010-09-301-3/+5
| |
* | Try to guess application's directory while trying to run the server, but ↵Piotr Sarnacki2010-09-301-0/+5
| | | | | | | | only if config.ru is not present in current dir
* | Moved Rails::RoutesReloader to Rails::Application::RoutesReloaderPiotr Sarnacki2010-09-303-56/+57
| |
* | Allow running generators for Engine with usage of other application.Piotr Sarnacki2010-09-301-1/+11
| | | | | | | | | | | | | | | | After that commit, developers can set ENGINE_PATH in ENGINE/scripts/rails file and load application's ./script/rails (most of the time it will be dummy application used for testing). When running ./script/rails g it will use application to boot up, but then it will use Engine's root and configuration for generators.
* | Added config.app_generators to allow configuring application's generators ↵Piotr Sarnacki2010-09-304-4/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from railties. With config.generators becomes a way to configure generators for current instance only. For example: module Blog class Engine < Rails::Engine config.generators do |g| g.orm :active_record end config.app_generators do |g| g.test_framework :rspec end end end such definition sets :active_record as orm for engine and :rspec as test_framework for application. The values set with app_generators can be overwritten in application using config.generators as you would normally do: module MyApp class Application < Rails::Application config.generators do |g| g.test_framework :test_unit end end end