- 11 6月, 2014 11 次提交
-
-
由 Kuldeep Aggarwal 提交于
-
由 Rafael Mendonça França 提交于
fix error with long keys in ActiveSupport::Cache::FileStore
-
由 Rafael Mendonça França 提交于
[ci skip] Improve enable_starttls_auto documentation (Action Mailer).
-
由 Richard Schneeman 提交于
[ci skip] Add Docs for strip_insignificant_zeros option in number_to_human
-
由 Adam Panzer 提交于
-
由 Juanito Fatas 提交于
-
由 Rafael Mendonça França 提交于
Remove deprecated method ActiveRecord::Base.quoted_locking_column
-
由 Akshay Vishnoi 提交于
-
由 Arthur Nogueira Neves 提交于
[ci skip] Correct output and use valid options of number helpers
-
由 Akshay Vishnoi 提交于
-
由 Akshay Vishnoi 提交于
-
- 10 6月, 2014 29 次提交
-
-
由 Rafael Mendonça França 提交于
Fix warnings in tests
-
由 Sean Griffin 提交于
``` activerecord/test/cases/adapters/postgresql/range_test.rb:159: warning: (...) interpreted as grouped expression activerecord/test/cases/finder_test.rb:38: warning: shadowing outer local variable - e activerecord/test/cases/finder_test.rb:43: warning: shadowing outer local variable - e ```
-
由 Rafael Mendonça França 提交于
Keep the types of virtual columns after yaml serialization
-
由 Rafael Mendonça França 提交于
remove depricated Validatior#setup
-
由 Sean Griffin 提交于
On MySQL and PostgreSQL, the adapter does not type cast virtual columns for us.
-
由 Rafael Mendonça França 提交于
Fix cache_digest rake tasks
-
由 Rafael Mendonça França 提交于
Inline PG array type casting helper
-
由 Sean Griffin 提交于
-
由 Jiri Pospisil 提交于
Bring cache_digests:* rake tasks up-to-date with the API changes introduced in 637bb726
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
This is a follow up to #15602 which rendered the guides in a weird state: > You can also specify some options just after the field type between curly braces. You can use the following modifiers: > `null` Allows or disallows `NULL` values in the column. > NOTE: `null` and `default` cannot be specified via command line. The modifiers are now moved into a separate section. The generator simply referes to that section. Related to #15583. /cc @JuanitoFatas
-
由 Xavier Noria 提交于
[ci skip] Rename: Rails Database Migration to Active Record Migration.
-
由 Juanito Fatas 提交于
This will need to setup permanent redirect for the old guide.
-
由 Kuldeep Aggarwal 提交于
-
由 Yves Senn 提交于
ActiveRecord::FinderMethods.find doesn't pass proc parameter to array Manual merge of #15584. Closes #15584.
-
由 James Yang 提交于
-
由 Yves Senn 提交于
[ci skip] Add note about type modifiers that cannot be specified in command line.
-
由 Juanito Fatas 提交于
-
由 Rafael Mendonça França 提交于
Use HasAndBelongsToMany instead of HABTM
-
由 Arthur Neves 提交于
-
由 Rafael Mendonça França 提交于
reuse available collection? check instead of macro
-
由 eileencodes 提交于
Reflection has an available method that is used to check if the reflection is a collection. Any :has_many macro is considered a collection and `collection?` should be used instead of `macro == :has_many`.
-
由 Rafael Mendonça França 提交于
add has_one? method and reuse instead of checking macro
-
由 Aaron Patterson 提交于
Abstract away use of HABTM macro
-
由 eileencodes 提交于
By having the `:has_and_belongs_to_many` macro in the `@collection` we are punishing `:has_many` associations because it has to allocate the array and check the macro. @collection is returned to `macro == :has_many` and a new reflection class `HABTMReflection` is created to handle this case instead.
-
由 eileencodes 提交于
Instead of checking for `macro == :has_one` throughout the codebase we can create a `has_one?` method to match the `belongs_to?`, `polymorphic?` and other methods.
-
由 Rafael Mendonça França 提交于
Before HashWithIndifferentAccess were doing deep_dup of the inner hashes when Hash doesn't do. Now both are behaving in the same way.
-
由 Rafael Mendonça França 提交于
This reverts commit dd3ea171 and add a regression test. Fixes #15418
-
由 Rafael Mendonça França 提交于
Rename `type_cast` to `type_cast_from_database`
-