aboutsummaryrefslogtreecommitdiffstats
path: root/railties/helpers
Commit message (Collapse)AuthorAgeFilesLines
* A set secret causes trouble with the cookie storeDavid Heinemeier Hansson2007-10-011-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better error messages if you leave out the :secret option for request ↵Rick Olson2007-09-281-1/+4
| | | | | | forgery protection. Closes #9670 [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give a pointer on where to look for moreDavid Heinemeier Hansson2007-09-241-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* protect new rails apps from csrf by default.Rick Olson2007-09-241-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Setting fixtures automatically for integration tests is a bit harder -- will ↵David Heinemeier Hansson2007-02-251-0/+3
| | | | | | have to wait until the test superclass reform is implemented git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added fixtures :all to test_helper.rb to assume that most people just want ↵David Heinemeier Hansson2007-02-251-1/+6
| | | | | | all their fixtures loaded all the time [DHH] Added fixtures :all as a way of loading all fixtures in the fixture directory at once (closes #7214) [manfred] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make it a default assumption that you want all helpers, all the time (yeah, ↵David Heinemeier Hansson2007-02-241-0/+1
| | | | | | yeah) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Session configuration in config/environment.rb instead of ↵Jeremy Kemper2007-02-221-5/+0
| | | | | | app/controllers/application.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed commit for [6184]. Generate a random secret for new app's cookie ↵Jeremy Kemper2007-02-211-2/+5
| | | | | | session store. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disabling sessions is not a common day eventDavid Heinemeier Hansson2006-05-211-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The app generator sets a session key in application.rb so apps running on ↵Jeremy Kemper2006-05-071-2/+8
| | | | | | the same host may distinguish their cookies. Closes #2967. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Beef up test fixtures documentation for test/test_helper.rbJeremy Kemper2005-10-291-4/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of setting testing settings through initializer as that would ↵David Heinemeier Hansson2005-10-151-0/+6
| | | | | | break backwards compatibility git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaned up test_helperDavid Heinemeier Hansson2005-10-151-20/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaned up some docsDavid Heinemeier Hansson2005-10-152-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2598 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made it even easier to turn on transactional fixturesDavid Heinemeier Hansson2005-07-041-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made it even easier to turn on transactional fixturesDavid Heinemeier Hansson2005-07-041-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the test_helper.rb to be safe for requiring controllers from multiple ↵David Heinemeier Hansson2005-06-161-1/+4
| | | | | | spots, like app/controllers/article_controller.rb and app/controllers/admin/article_controller.rb, without reloading the environment twice #1390 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added web_service generator (run ./script/generate web_service for help) ↵David Heinemeier Hansson2005-03-061-1/+2
| | | | | | #776 [Leon Bredt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that rake clone_structure_to_test, db_structure_dump, and ↵David Heinemeier Hansson2005-01-111-1/+1
| | | | | | purge_test_database tasks now pick up the source database to use from RAILS_ENV instead of just forcing development #424 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed AbstractApplicationController and abstract_application.rb to ↵David Heinemeier Hansson2004-12-152-3/+2
| | | | | | ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cut dependency on dev-utils by using included breakpoint libDavid Heinemeier Hansson2004-12-131-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AbstractApplicationController and the individual controllers are now ↵David Heinemeier Hansson2004-11-301-0/+1
| | | | | | completely reloaded on each request if "reload_dependencies" is set to true. This makes it possible to REMOVE methods and constants and have the changes reflected. Beaware that this is still not possible for models, though. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@31 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-243-0/+24
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de