aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/url_generation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Missing AV requires in railties testsŁukasz Strzałkowski2013-08-251-0/+1
|
* Removing use of subclassed application constant and instead using thewangjohn2013-06-031-1/+1
| | | | | more agnostic Rails.application syntax. This means tests will be more portable, and won't rely on the existence of a particular subclass.
* Rename secret_token_key to secret_key_baseSantiago Pastorino2012-11-031-1/+1
|
* Sign cookies using key deriverSantiago Pastorino2012-11-031-1/+1
|
* Remove warning setting eager_loadRafael Mendonça França2012-10-181-0/+1
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-3/+3
|
* Remove default match without specified methodJose and Yehuda2012-04-241-1/+1
| | | | | | | | | | | | | | | | 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
* convert railties to use AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* Create a deprecation behavior that triggers a notification for deprecation ↵wycats2010-06-291-0/+1
| | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification.
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-051-1/+1
| | | | configuration in request.env. This is another step forward removing global configuration.
* Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-041-1/+2
| | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
* Fix Sam Ruby's tests and deprecation warningsCarlhuda2010-03-041-1/+1
|
* Final pass at removing the router from a global constantCarlhuda2010-02-251-0/+42