- 01 2月, 2014 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
We can just require the file rather than going through the autoload indirection
-
由 Andrew White 提交于
Extend the solution from the fix for #12163 to the general case where `Time` methods are wrapped with a time zone. Fixes #12596.
-
- 31 1月, 2014 15 次提交
-
-
由 Rafael Mendonça França 提交于
Updated association_basics.md
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Document default trim mode for Erubis and affected ERB tags. Fixes #12963 [ci skip]
-
由 Carlos Antonio da Silva 提交于
Associations now raises `ArgumentError` on name conflicts. Closes #13217.
-
由 Zachary Scott 提交于
Fixes #12963
-
由 Godfrey Chan 提交于
Remove unused variable.
-
由 Rohit Paul Kuruvilla 提交于
Updated association_basics.md to include how to write migrations for self joins Update association_basics.md Corrected the update Update association_basics.md Typo fix Changed :employee to :manager
-
由 Tim Fenney 提交于
-
由 Lauro Caetano 提交于
Dangerous association names conflicts include instance or class methods already defined by `ActiveRecord::Base`.
-
由 Rafael Mendonça França 提交于
Let `unscope` ignore non Arel scope.where_values
-
由 Washington Luiz 提交于
-
由 Rafael Mendonça França 提交于
Fix regression on .select method
-
由 Rafael Mendonça França 提交于
Add CreateMigration action
-
由 Arthur Neves 提交于
This was a common pattern: ``` query = author.posts.select(:title) connection.select_one(query) ``` However `.select` returns a ActiveRecord::AssociationRelation, which has the bind information, so we can use that to get the right sql query. Also fix select_rows on postgress and sqlite3 that were not using the binds [fixes #7538] [fixes #12017] [related #13731] [related #12056]
-
由 Yves Senn 提交于
-
- 30 1月, 2014 22 次提交
-
-
由 Yves Senn 提交于
Replace Post model with Article model in getting started guide [ci skip]
-
由 Rafael Mendonça França 提交于
Add `travel_back` to remove stubs from `travel` and `travel_to` and remove auto-rollback after each test case
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
This behavior is only work out-of-box with minitest and also add a downside to run after each test case, even if we don't used the travel or travel_to methods
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
find_in_batches should not mutate its argument
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
There is no gain in `referencing` tables that are not used for preloading. Furthermore it will break if polymorphic associations are invloved. This is because `references_eager_loaded_tables?` uses all `reference_values` to decide wether to `eager_load` or `preload`.
-
由 Godfrey Chan 提交于
Modify the session serializer implementation
-
由 Guillermo Iguaran 提交于
Rename allowed options to :marshal and :json, for custom serializers only allow the use of custom classes.
-
由 Marc-Andre Lafortune 提交于
-
由 Rafael Mendonça França 提交于
Alternative implementation to make time travel not dependent on mocha
-
由 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 提交于
-
由 Rafael Mendonça França 提交于
Enhance errors while retrieving database config
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Fixing issue with activerecord serialization not being able to dump a record after loading it from YAML - fixes #13861
-
由 Rafael Mendonça França 提交于
Added some style changes in asset pipeline documentation
-