- 09 2月, 2015 1 次提交
-
-
由 Vipul A M 提交于
that complements the `start`parameter to specify where to stop batch processing
-
- 08 2月, 2015 19 次提交
-
-
由 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 提交于
-
由 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
-
由 Sean Griffin 提交于
This allows us to remove `Type::Value#klass`, as it was only used for multi-parameter assignment to reach into the types internals. The relevant type objects now accept a hash in addition to their previous accepted arguments to `type_cast_from_user`. This required minor modifications to the tests, since previously they were relying on the fact that mulit-parameter assignement was reaching into the internals of time zone aware attributes. In reaility, changing those properties at runtime wouldn't change the accessor methods for all other forms of assignment.
-
由 Rafael Mendonça França 提交于
NameError#missing_name? can just use NameError#name if the arg is a Symbol
-
由 Rafael Mendonça França 提交于
remove noise from AM tests
-
- 07 2月, 2015 20 次提交
-
-
由 Xavier Noria 提交于
Use the Rails favicon.ico instead of the ruby favicon.ico for rails guides [ci skip]
-
由 Yuki Nishijima 提交于
NameError#name returns a missing name as a symbol, so if the given name is a symbol, it doesn't have to use #missing_name to get the last constant name in the error message.
-
由 Aditya Kapoor 提交于
-
由 Arthur Neves 提交于
make zones_map private
-
由 Tony Miller 提交于
Conflicts: activesupport/lib/active_support/values/time_zone.rb
-
由 Arthur Nogueira Neves 提交于
use kwargs instead of xhr method. refs #18771.
-
由 yuuji.yaginuma 提交于
-
由 John Krueger 提交于
-
由 Rafael Mendonça França 提交于
[ci skip] Closes #16538
-
由 Rafael Mendonça França 提交于
Fixed undefined method `i18n_key' for nil:NilClass for labels in non AR ...
-
由 Miklos Fazekas 提交于
Refactoring at #18647 broke using non active record objects in form_for. This patch restores the original behaviour where we only compute i18 key when object.respond_to?(:to_model)
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
README.rdoc was generated to support the doc:app task. Now that this task is gone we can switch to Markdown, which is nowadays a better default.
-
由 Xavier Noria 提交于
This patch removes the tasks doc:app, doc:rails, and doc:guides. In our experience applications do not generate APIs using doc:app. Methods may be certainly documented for maintainers, annotated with YARD tags, etc. but that is intended to be read with the source code, not in a separate website. Then, teams also have typically selected topics written down in Markdown files, or in a GitHub wiki... that kind of thing. If a team absolutely needs to generate application documentation for internal purposes, they can still easily write their own task. Regarding doc:rails and doc:guides, we live in 2015. We are used to go to online docs all the time. If you really want access to the API offline RubyGems generates it for every Rails component unless you tell it not to, and you can checkout the Rails source code to read the guides as Markdown, or download them for a Kindle reader. All in all, maintaining this code does not seem to be worthwhile anymore. As a consequence of this, guides (+3 MB uncompressed) won't be distributed with the rails gem anymore. Of course, guides and API are going to be still part of releases, since documentation is maintained alongside code and tests. Also, time permitting, this will allow us to experiment with novel ways to generate documentation in the Rails docs server, since right now we were constrained by being able to generate them in the user's environment.
-
由 Sean Griffin 提交于
-
由 Rafael Mendonça França 提交于
nil or false should not be valid argument to the merge method. Closes #12264
-
由 Rafael Mendonça França 提交于
Relation#merge checks if the argument is an array and the only possible returns of build_default_scope is nil or a Relation. Doing this we can raise an ArgumentError when Relation#merge receive a nil value.
-