- 05 11月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
- 04 11月, 2012 8 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
ArgumentError is better suited than RuntimeError for this.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Use `tag!` instead of `method_missing` in `to_xml` conversions.
-
由 Nikita Afanasenko 提交于
Since version `3.0.x` `Builder` caches method passed to `method_missing` each time. This commit replaces `method_missing` call with `tag!` call to prevent method redefinition on each `to_xml` call with the same builder.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Also refactor the test a bit.
-
由 Carlos Antonio da Silva 提交于
There is no need to expose this accessor since we already have the query method #permitted? that should handle this purpose.
-
- 03 11月, 2012 15 次提交
-
-
由 Rafael Mendonça França 提交于
message
-
由 Rafael Mendonça França 提交于
Support :multiple option on input tags that also have :index
-
When you have an explicit index set, then when you build an input tag with :multiple => true, it doesn't add [] to the end of its name, although it should.
-
由 Rafael Mendonça França 提交于
This comment is not valid since that `if` is there to make possible to do: remove_index :users, :name Instead of: remove_index :users, column: :name What is a valid use case. [ci skip]
-
由 Rafael Mendonça França 提交于
This was there due historical reasons since 7dc45818 to give the user the possibility to create unique indexes passing "UNIQUE" as the third argument
-
由 Santiago Pastorino 提交于
-
由 Rafael Mendonça França 提交于
Closes #8104
-
由 Carlos Antonio da Silva 提交于
Fixed grammar in migration pending error.
-
由 Steve Klabnik 提交于
-
由 Vijay Dev 提交于
Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md
-
由 Rafael Mendonça França 提交于
-
由 Vijay Dev 提交于
-
由 Rafael Mendonça França 提交于
This reverts commit f4ad0ebe, reversing changes made to 8b2cbb3a. Conflicts: actionpack/CHANGELOG.md REASON: This added introduced a bug when you have a shorthand route inside a nested namespace. See https://github.com/rafaelfranca/rails/commit/281367eb770faf8077c1fd6194188e92ed1637a1
-
- 02 11月, 2012 6 次提交
-
-
由 Rafael Mendonça França 提交于
Fixed mapping of Solomon Islands.
-
由 Steve Klabnik 提交于
Fixes #8095. For reference, here is the discussion about the mapping being incorrect: http://rubyforge.org/pipermail/tzinfo-users/2012-November/000114.html
-
由 Santiago Pastorino 提交于
memoize calculated ip without additional variable
-
由 Sergey Nartimov 提交于
There is no need in additional `@calculated_ip` instance variable.
-
由 Carlos Antonio da Silva 提交于
When calling first(n) or last(n) in a collection, Active Record was improperly trying to set the inverse of instance in case that option existed. This change was introduced by fdf4eae5. In such cases we don't need to do that "manually", since the way collection will be loaded will already handle that, so we just skip setting the inverse association when any argument is given to first(n)/last(n). The test included ensures that these scenarios will have the inverse of instance set properly. Fixes #8087, Closes #8094. Squashed cherry-pick from d37d40b2 and c368b660. Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/associations/collection_association.rb
-
由 kennyj 提交于
-
- 01 11月, 2012 9 次提交
-
-
由 Carlos Antonio da Silva 提交于
Fix #8086 (BestStandardsSupport rewrites app X-UA-Compatible header)
-
由 Nikita Afanasenko 提交于
Now `BestStandardsSupport` middleware appends it's `X-UA-Compatible` value to app's value. Also test for `BestStandardsSupport` middleware added.
-
由 Carlos Antonio da Silva 提交于
Closes #8091
-
由 Santiago Pastorino 提交于
Small change to remove warning unused variable.
-
由 Arun Agrawal 提交于
-
由 Carlos Antonio da Silva 提交于
Make sure that RAILS_ENV is set when accessing Rails.env
-
由 Steve Klabnik 提交于
Fixes #8025
-
由 AvnerCohen 提交于
-
由 David Heinemeier Hansson 提交于
This reverts commit f1765019.
-