- 11 2月, 2015 8 次提交
-
-
由 Arthur Neves 提交于
-
由 Sean Griffin 提交于
Like for real this time. I checked.
-
由 Rafael Mendonça França 提交于
Fixed typos in ActiveRecord CHANGELOG [ci skip]
-
由 Rafael Mendonça França 提交于
Add an option `end` to `find_in_batches`
-
由 Prathamesh Sonpatki 提交于
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
The various databases don't actually need significantly different handling for this behavior, and they can achieve it without knowing about the type of the object. The old implementation was returning a string, which will cause problems such as breaking TZ aware attributes, and making it impossible for the adapters to supply their logic for time objects.
-
由 Rafael Mendonça França 提交于
Documentation Fix: Corrects explanation of what happens when dependent is not set
-
- 10 2月, 2015 3 次提交
-
-
由 Sean Griffin 提交于
Fixes #18871
-
由 Robin Dupret 提交于
Document lazy lookup behavior for controllers [ci skip]
-
由 Sean Griffin 提交于
Significantly faster than `SimpleDelegator`.
-
- 09 2月, 2015 12 次提交
-
-
由 Rafael Mendonça França 提交于
Remove warning from ActionView::Helpers::Tags::Translator
-
由 Sean Griffin 提交于
An array type is a part of `sql_type`
-
由 Alex Handley 提交于
By default the foreign key will remain set with the parent id after destroy is fired.
-
由 Yves Senn 提交于
The default of the global might change. It's better to reset it to what it was than a hardcoded value.
-
由 Yves Senn 提交于
Remove warning from generator named base test
-
由 Yves Senn 提交于
Remove warning from Plugin Generator
-
由 Yuki Nishijima 提交于
This removes the following warning: railties/test/generators/named_base_test.rb:9: warning: method redefined; discarding old pluralize_table_names activesupport/lib/active_support/core_ext/class/attribute.rb:86: warning: previous definition of pluralize_table_names was here railties/test/generators/named_base_test.rb:9: warning: method redefined; discarding old pluralize_table_names= activesupport/lib/active_support/core_ext/class/attribute.rb:83: warning: previous definition of pluralize_table_names= was here
-
由 Yuki Nishijima 提交于
This removes the following warning: /GitHub/rails/actionview/lib/action_view/helpers/tags/translator.rb:19: warning: private attribute?
-
由 Andrew White 提交于
Explicitly ignored wildcard verbs from head_routes
-
由 Yuki Nishijima 提交于
This removes the following warning: rails/railties/lib/rails/generators/rails/plugin/plugin_generator.rb:321: warning: shadowing outer local variable - content
-
由 Vipul A M 提交于
that complements the `start`parameter to specify where to stop batch processing
-
由 Terence Sun 提交于
In match_head_routes, deleted the routes in which request.request_method was empty (matches all HTTP verbs) when responding to a HEAD request. This prevents catch-all routes (such as Racks) from intercepting the HEAD request. Fixes #18698
-
- 08 2月, 2015 17 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Added by 101c19f5.
-
由 Andrew White 提交于
Fix rounding problem for PostgreSQL timestamp column
-
由 Ryuta Kamizono 提交于
If timestamp column have the precision, it need to format according to the precision of timestamp column.
-
由 Andrew White 提交于
Respect the database default charset for `schema_migrations` table.
-
由 Andrew White 提交于
Add `auto_increment?` instead of `extra == 'auto_increment'`
-
由 Andrew White 提交于
Remove unused line
-
由 Abdelkader Boudih 提交于
Missing `@` [ci skip]
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
`sql_type` is reused in `lookup_cast_type`. If making it a part of `sql_type` when handled array option first, it isn't necessary to do again.
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
The charset of `version` column in `schema_migrations` table is depend on the database default charset and collation rather than the encoding of the connection.
-
由 Sean Griffin 提交于
This predicate is only used in `query_attribute`, and is relatively easy to remove without adding a bunch of is a checks.
-
由 Sean Griffin 提交于
This predicate was only to figure out if it's safe to do case insensitive comparison, which is only a problem on PG. Turns out, PG can just tell us whether we are able to do it or not. If the query turns out to be a problem, let's just replace that method with checking the SQL type for `text` or `character`. I'd rather not burden the type objects with adapter specific knowledge. The *real* solution, is to deprecate this behavior entirely. The only reason we need it is because the `:case_sensitive` option for `validates_uniqueness_of` is documented as "this option is ignored for non-strings". It makes no sense for us to do that. If the type can't be compared in a case insensitive way, the user shouldn't tell us to do case insensitive comparison.
-
由 Sean Griffin 提交于
The type code is actually quite accessible, and I'm planning to encourage people to look at the files in the `type` folder to learn more about how it works. This will help reduce the noise from code that is less about type casting, and more about random AR nonsense.
-
由 Sean Griffin 提交于
It only existed to make sure the subclasses of `Delegator` were YAML serializable. As of Ruby 2.2, these are YAML dumpable by default, as it includes https://github.com/tenderlove/psych/commit/2a4d9568f7d5d19c00231cf48eb855cc45ec3394
-