- 15 10月, 2013 18 次提交
-
-
由 Rafael Mendonça França 提交于
Add missed require making `enable_warnings` available
-
由 Dmitry Vorotilin 提交于
-
由 Yves Senn 提交于
Add --model-name option into scaffold_controller generator
-
由 yalab 提交于
-
由 Rafael Mendonça França 提交于
Minor Refactoring to `NumberHelper#number_to_human`
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
Remove size alias for length validation
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
scope_chain should not be mutated for other reflections
-
由 Rafael Mendonça França 提交于
Fix `singleton_class?`
-
由 Sıtkı Bağdat 提交于
Removed ```The `size` helper is an alias for `length`.``` line. If you use this "nonexist" helper, you will get an error message like this: ``` ArgumentError: Unknown validator: 'SizeValidator' ... ``` Maybe wanted to mean ```validates_size_of``` helper as an alias for ```validates_length_of``` helper.
-
由 Vipul A M 提交于
Due to changes from http://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/39628 current `singleton_class?` implementation fails. Changed based on reference from http://bugs.ruby-lang.org/issues/7609
-
由 Vipul A M 提交于
* Use destructive `map` and `sort_by` to save extra object creation. * Create `INVERTED_DECIMAL_UNITS.invert` constant instead of repeatedly doing `DECIMAL_UNITS.invert`
-
由 Rafael Mendonça França 提交于
`$SAFE = 4;` has been removed with Ruby 2.1
-
- 14 10月, 2013 22 次提交
-
-
由 Neeraj Singh 提交于
Currently `scope_chain` uses same array for building different `scope_chain` for different associations. During processing these arrays are sometimes mutated and because of in-place mutation the changed `scope_chain` impacts other reflections. Fix is to dup the value before adding to the `scope_chain`. Fixes #3882.
-
由 Rafael Mendonça França 提交于
SQLite3 Adapter datatypes cleanup
-
由 Vipul A M 提交于
Remove `default_primary_key_type` and extract contains of `native_database_types` to a constant since they aren't conditional now in SQLite3Adapter. Makes it more like other adapters.
-
由 Rafael Mendonça França 提交于
Merge pull request #9499 from dmitry/inverse_instance_should_not_be_reloaded_after_stale_state_change Inversed instance should not be reloaded after stale state was changed Conflicts: activerecord/CHANGELOG.md
-
由 Rafael Mendonça França 提交于
Remove sqlite specific`supports_autoincrement?` which defaults to true
-
由 Yves Senn 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Fixes #12489
-
由 Rafael Mendonça França 提交于
newline at end of structure.sql file
-
由 Chad Jolly 提交于
-
由 Dmitry Polushkin 提交于
-
由 Dmitry Polushkin 提交于
-
由 Dmitry Polushkin 提交于
check at association reader that record is inverted and should not be reloaded because of stale was changed at target record
-
由 Rafael Mendonça França 提交于
`Relation#count` doesn't use options anymore.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Merge pull request #12508 from jetthoughts/12415_generate_subqueries_for_relation_from_binding_params Generate subquery for Relation passed as array condition for where Conflicts: activerecord/CHANGELOG.md
-
由 Paul Nikitochkin 提交于
Instead of executing 2 queries for fetching records filtered by array condition with Relation, added generation of subquery to current query. This behaviour will be consistent when passes Relation as hash condition to where Closes: #12415
-
由 Rafael Mendonça França 提交于
Fixed MRI dependent stuff in AR tests
-
由 Rafael Mendonça França 提交于
Make missed association exception message more informative
-
由 Paul Nikitochkin 提交于
Add target class name, which should have missed association on preload, into exception message to simplify detecting problem part.
-
由 Vipul A M 提交于
Stop accepting `options` for `Relation#average`, `Relation#minimum`, `Relation#maximum`, `Relation#calculate`, `perform_calculation`, `NullRelation#calculate` as they isn't used anymore.
-