aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/i18n_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-2/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-2/+2
| | | | 's/[ \t]*$//' -i {} \;)
* activerecord tests should inherit from ActiveRecord::TestCaseAaron Patterson2010-07-141-1/+1
|
* Move validator, human_name and human_attribute_name to ActiveModel, remove ↵José Valim2009-10-201-3/+3
| | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com>
* Model#human_attribute_name now accept symbols [#3025 status:resolved]Arthur Zapparoli2009-08-091-0/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-6/+6
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* i18n: fixed failing tests after removing #populate and #store_translationsMarko Seppae2008-08-271-12/+7
|
* I18n: fix activerecord i18n test for classy backendSven Fuchs2008-08-251-1/+1
|
* Fix test to assign the module instead of a new instanceJeremy Kemper2008-08-241-1/+1
|
* fix activerecord i18n_test to work with backend classesSven Fuchs2008-08-201-3/+3
|
* Added Base.human_name methodIain Hecker2008-08-201-0/+46