aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/i18n_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Add three new rubocop rulesRafael Mendonça França2016-08-161-7/+7
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
|
* modernizes hash syntax in activerecordXavier Noria2016-08-061-7/+7
|
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-16/+16
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* 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