- 28 8月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
This test https://github.com/rails/rails/blob/master/activerecord/test/cases/base_test.rb#L381 is failing because is not setting `CreditCard.pluralize_table_name` to `false`. In this case, i prefer to change to another model that is not in the `GUESSED_CLASSES` array.
-
- 27 8月, 2012 2 次提交
-
-
由 Santiago Pastorino 提交于
fix order dependent test in AggregationsTest
-
由 Francesco Rodriguez 提交于
Ensure class variable is set to nil. It prevents the following test to fail: def test_do_not_run_the_converter_when_nil_was_set customers(:david).non_blank_gps_location = nil assert_nil Customer.gps_conversion_was_run end Check https://github.com/rails/rails/blob/master/activerecord/test/models/customer.rb#L7 for more information.
-
- 26 8月, 2012 19 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
serialized attribute value is not from the same class
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
We need more
❤ in this file. There are a lot of outdated entries. -
由 Rafael Mendonça França 提交于
We reverted the removal because the new deprecation policy
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
This reverts commit 7a8aee08.
-
由 Rafael Mendonça França 提交于
This reverts commit a7f4b0a1. Conflicts: activerecord/lib/active_record/associations/has_one_association.rb activerecord/lib/active_record/persistence.rb activerecord/test/cases/base_test.rb activerecord/test/cases/dirty_test.rb activerecord/test/cases/timestamp_test.rb
-
由 Rafael Mendonça França 提交于
Refactored common date and time calculations.
-
由 Rafael Mendonça França 提交于
Allow to pass Symbol or Proc into :limit option of #accepts_nested_attributes_for
-
由 Carlos Antonio da Silva 提交于
Instead of building a Blog::Post instance for every test in form helper tests, just build it in the test that uses it.
-
由 Mikhail Dieterle 提交于
-
由 Mikhail Dieterle 提交于
-
由 Rafael Mendonça França 提交于
correct handling of date selects when using both disabled and discard options
-
由 Vasiliy Ermolovich 提交于
we should take disabled option not only from `html_options` hash but from `options` hash too like `build_select` method does it. So datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true }) datetime_select("post", "updated_at", :discard_minute => true , :disabled => true) both these variants work now closes #7431
-
- 25 8月, 2012 12 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
We simplify two things here: First since * is greedy it is enough to go look for the rightmost ::, no need to ask the regexp engine to match the rest of the string since we are not validating anything, only capturing. The second simplification comes from using a look-ahead assertion, that allows us to have the capture in $&, thus removing the need of a group.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
Accept a symbol for `:in` option on inclusion and exclusion validators
-
由 José Valim 提交于
Extract ActiveRecord::SessionStore from Rails
-
由 Prem Sichanugrist 提交于
Tell people to install `activerecord-session_store` gem when it's not installed instead ofraising `NameError` on missing `ActionDispatch::Session::ActiveRecordStore`.
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
This functionality will be available from gem `active_record-session_store` instead.
-
由 Gabriel Sobrinho 提交于
-
- 24 8月, 2012 6 次提交
-
-
由 Rafael Mendonça França 提交于
Fix tests that depend on run order
-
由 Xavier Noria 提交于
The new regexp has less work to do, we anchor a fixed string at the end and need no group.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-