- 16 4月, 2014 1 次提交
-
-
由 Eric Chahin 提交于
Changed change_column in PG schema_statements.rb to make sure that the uuid_generate function was not being quoted.
-
- 15 4月, 2014 16 次提交
-
-
由 Rafael Mendonça França 提交于
Display diagnostics in text format for xhr request
-
由 Arthur Nogueira Neves 提交于
use YAML.load_file in database tasks example
-
由 Rafael Mendonça França 提交于
Fix count on association relation (calls to empty and size).
-
由 Robin Tweedie 提交于
rather than YAML.load(File.read(path)). YAML.load_file is also used in guides/rails_guides/helper.rb since 2011, the only other precedent I could find.
-
由 Yves Senn 提交于
[ci skip] Add missing end in one of the examples in Migrations.md.
-
由 Juanito Fatas 提交于
-
由 Yves Senn 提交于
Remove surplus period from assertion messages
-
由 Yves Senn 提交于
Fix subscriptions not being unsubscribed.
-
由 Lauro Caetano 提交于
968c581e have fixed the EagerLoadTest, but not in the correct way. The problem was when `empty?` or `size` was called on relation. It was triggering `count(:all)`, which was passing `:all` as the column name to `count` on Calculations. On the other hand, the method `calculate` on Calculations was calling `construct_relation_for_association_calculations` instead of `perform_calculation`, because `has_include?` was returning `true` since `column_name` was present. To prevent calling the wrong method to perform the calculation, we have to check if the `column_name` is present and if it is different from `:all` (which is now used to correctly do `count` with `select`). More information here: https://github.com/rails/rails/commit/968c581ea34b5236af14805e6a77913b1cb36238#commitcomment-6006135
-
由 Lauro Caetano 提交于
968c581e have introduced this bug #14744 on Association Relation when the method `empty?` or `size` was called. Example: # Given an author that does have 3 posts, but none of them with the # title 'Some Title' Author.last.posts.where(title: 'Some Title').size # => 3 It was occurring, because the Association Relation had implemented these methods based on `@association`, this way giving wrong results. To fix it, was necessary to remove the methods `empty?` and `size` from Association Relation. It just have to use these methods from Relation. Example: # Given an author that does have 3 posts, but none of them with the # title 'Some Title' Author.last.posts.where(title: 'Some Title').size # => 0 # Now it will return the correct value. Fixes #14744.
-
由 Rafael Mendonça França 提交于
Like rake tasks and runner blocks these blocks should also being shared between applications since they are stored at the classes. Fixes #14748
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
When requesting a controller with the following code with a unknown format: def my_action respond_to do |format| format.json { head :ok } format.any { render text: 'Default response' } end end we should render the default response instead of raising ActionController::UnknownFormat Fixes #14462 Conflicts: actionpack/CHANGELOG.md actionpack/test/controller/mime/respond_with_test.rb Conflicts: actionpack/CHANGELOG.md
-
由 Rafael Mendonça França 提交于
-
由 Richard Schneeman 提交于
[ci skip] Improve doc, fix grammatical issue
-
由 Aaron Patterson 提交于
Idempotent counter caches, fix concurrency issues with counter caches
-
- 14 4月, 2014 20 次提交
-
-
由 Guo Xiang Tan 提交于
-
由 Marcus Stollsteimer 提交于
-
由 Yves Senn 提交于
Reference and link to install RVM in the Getting Started Guide. [ci skip]
-
由 ZENATI YASSINE 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
`collection_check_boxes` respects `:index` option for the hidden filed name
-
由 Vasiliy Ermolovich 提交于
closes #14147
-
由 Vlad Bokov 提交于
-
由 Yves Senn 提交于
The second argument to serialize has double meaning: * `class_name` of the Type to serialize * `coder` to use then serializing. The new variable name and the docs better describe that behavior.
-
由 Yves Senn 提交于
Fix some inconsistent references between text and example code in getting started guide [ci skip]
-
由 Rafael Mendonça França 提交于
Just call read_attribute, no need to use send.
-
由 Lauro Caetano 提交于
Follow up to af549a1a
-
由 Christopher Owen 提交于
- Section references `form_tag` instead of the `form_for` used in the example
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Arthur Nogueira Neves 提交于
Disable assest cache store in docs [ci skip]
-
由 Nick Borromeo 提交于
-
由 Robin Dupret 提交于
[ci skip] Use plain underscore instead of "\_". [ci skip]
-
由 Jean Boussier 提交于
-
由 Jean Boussier 提交于
-
- 13 4月, 2014 3 次提交
-
-
由 Juanito Fatas 提交于
-
由 Akshay Vishnoi 提交于
-
由 Rafael Mendonça França 提交于
The comparison between `Relation` and `CollectionProxy` should be consistent. Conflicts: activerecord/CHANGELOG.md
-