Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | Rails.initialized? can be called at any time without raising an exception ↵ | Franck Verrot | 2012-03-28 | 1 | -0/+10 |
| | | | | | | | | | | [Closes #2507] Changes: * `Rails.initialized=` has been removed * `Rails.initialized?` and `Rails.application.initialized?` are now * delegating to `MyApp::Application.initialized?` | ||||
* | Simplify helpers handling. Ensure Metal can run AC hooks. | José Valim | 2012-03-15 | 1 | -1/+30 |
| | |||||
* | Now all the models need to explicitly declare the accessible attributes | Rafael Mendonça França | 2012-03-04 | 1 | -0/+1 |
| | |||||
* | Fix railties tests | Piotr Sarnacki | 2012-01-15 | 1 | -4/+4 |
| | | | | | SchemaMigration model is loaded on rails initialization, which means that it will not be cleaned on each request. | ||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Clean up the cache before the request in case we are running in the ↵ | José Valim | 2011-12-15 | 1 | -3/+51 |
| | | | | reload_classes_only_on_change schema. | ||||
* | FileUpdateChecker should be able to handle deleted files. | José Valim | 2011-12-13 | 1 | -0/+32 |
| | |||||
* | Add config.file_watcher so developers can provide their own watchers (for ↵ | José Valim | 2011-12-13 | 1 | -3/+79 |
| | | | | instance, hooking on fsevents). | ||||
* | Speed up development by only reloading classes if dependencies files changed. | José Valim | 2011-12-12 | 1 | -0/+1 |
| | | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3 | ||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -3/+1 |
| | |||||
* | loading_test.rb with RAILS_ENV=development | Arun Agrawal | 2011-06-06 | 1 | -0/+6 |
| | |||||
* | Removed deprecated router API from railties | Piotr Sarnacki | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Ensure that Rails.application.initialize! is called only once | Piotr Sarnacki | 2010-09-03 | 1 | -0/+5 |
| | |||||
* | Allow Engines loading its own environment file from config/environments | Piotr Sarnacki | 2010-09-03 | 1 | -0/+17 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -3/+3 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Push a failing test for issues [#4994] and [#5003]. | José Valim | 2010-06-29 | 1 | -1/+14 |
| | |||||
* | Clear DescendantsTracker on each request. | José Valim | 2010-06-19 | 1 | -0/+73 |