- 29 6月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 28 6月, 2012 15 次提交
-
-
由 Rafael Mendonça França 提交于
fixing typo in active record from method
-
由 Subba Rao Pasupuleti 提交于
-
由 Carlos Antonio da Silva 提交于
Since composed_of was removed in 05174744, these tests were working "by mistake", due to the matching "address" string in the error message, but with a different error message than the expected multiparameter assignment error. Since "address" is not an attribute from Customer anymore, the error was "undefined method klass for nil", where nil was supposed to be the column object.
-
由 Carlos Antonio da Silva 提交于
All other multiparameter assignment tests are in the same file, so it makes sense to have all of them here.
-
由 Santiago Pastorino 提交于
-
由 Carlos Antonio da Silva 提交于
Skip test_setting_time_attribute for Oracle database
-
由 Yasuo Honda 提交于
does not have TIME data type.
-
由 Carlos Antonio da Silva 提交于
Speed up Hash#transform_keys using Hash#each_key
-
由 Grant Hutchins 提交于
See https://gist.github.com/3007749 for justification
-
由 Rafael Mendonça França 提交于
fix bug in limit of enum columns of mysql Closes #6432
-
由 Yamada Masaki 提交于
-
由 Rafael Mendonça França 提交于
Fixes #6825, adds tests covering cases and error possibilities
-
由 Mauricio Linhares 提交于
Fixes #6825, adds tests covering cases and error possibilities, also changes SQLite3 driver to correctly generate a time column instead of datetime
-
由 Carlos Antonio da Silva 提交于
Pull request #6856, merged in 52f6e476. [ci skip]
-
由 Carlos Antonio da Silva 提交于
Fix wrong testcase for db:test:prepare, and wrong environment in AR rake task.
-
- 27 6月, 2012 15 次提交
-
-
由 Carlos Antonio da Silva 提交于
Add polymorphic option to model generator For instance, $ rails g model Product supplier:references{polymorphic} generate model with `belongs_to :supplier, polymorphic: true` association and appropriate migration.
-
由 kennyj 提交于
-
由 kennyj 提交于
-
由 Rafael Mendonça França 提交于
Address test_basic_model test error with Oracle enhanced adapter
-
由 Yasuo Honda 提交于
which ids start from 1000 as a default.
-
由 Aleksey Magusev 提交于
For instance, $ rails g model Product supplier:references{polymorphic} generate model with `belongs_to :supplier, polymorphic: true` association and appropriate migration. Also fix model_generator_test.rb#L196 and #L201
-
由 Xavier Noria 提交于
Guide update for Async ActionMailer
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Since we're dealing with a new array instance, it's safe to use map! and we avoid an extra array object. Also remove the symbolize_keys! from AttributeMethodMatcher, since it's an internal class that always receives symbol keys from the prefix/suffix methods implementations.
-
由 Carlos Antonio da Silva 提交于
Since we're not directly requiring the reverse_merge extension, we can avoid another hash creation by using default_hash.merge! instead.
-
由 Carlos Antonio da Silva 提交于
There's no need to create two extra hashes with options.merge(another_hash), with the goal of setting only one value, so lets just set it. Also refactor validates_each to use _merge_attributes, like other validates_* helpers do.
-
由 Carlos Antonio da Silva 提交于
Also simplify I18n logic for Array#to_sentence, doing only one lookup for all keys and using merge!, instead of one lookup for each option key.
-
由 Brian Cardarella 提交于
-
由 Rafael Mendonça França 提交于
Setup each test with default ActiveRecord timezone settings to ensure ea...
-
由 Erich Menge 提交于
Setup each test with default ActiveRecord timezone settings to ensure each test starts with a clean slate. Fixes #6867.
-
- 26 6月, 2012 9 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 José Valim 提交于
AS::Callbacks: deprecate monkey patch code
-
由 José Valim 提交于
:update_details method no more exists on @lookup_context
-
由 Aaron Patterson 提交于
Async actionmailer
-
由 Bogdan Gusiev 提交于
Deprecate usage of filter object with #before and #after methods as around callback
-
由 Akira Matsuda 提交于
the method has gone in this commit: 119e9e2d
-
由 Carlos Antonio da Silva 提交于
Try to use more destructive methods on *args when applicable, to avoid creating new objects.
-
由 Piotr Sarnacki 提交于
exists?(false) returns false
-
由 Carlos Antonio da Silva 提交于
Fix build issue with postgresql.
-