- 03 11月, 2012 14 次提交
-
-
由 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.
-
- 31 10月, 2012 11 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Guillermo Iguaran 提交于
This reverts commit a8560fa3.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Fix find_in_batches against string IDs when start option is not specified
-
由 Alexis Bernard 提交于
-
由 Rafael Mendonça França 提交于
if format is unknown NullMimeTypeObject is returned
-
由 Angelo capilleri 提交于
If a unknown format is passed in a request, the methods html?, xml?, json? ...etc Nil Exception. This patch add a class NullMimeTypeObject, that is returned when request.format is unknown and it responds false to the methods that ends with '?'. It refers to #7837, not fixes because it's not considered a improvement not a bug.
-
由 Carlos Antonio da Silva 提交于
Fix `attributes_before_type_cast` for serialized attributes.
-
由 Nikita Afanasenko 提交于
Public method `attributes_before_type_cast` used to return internal AR structure (ActiveRecord::AttributeMethods::Serialization::Attribute), patch fixes this. Now behaves like `read_attribute_before_type_cast` and returns unserialised values.
-
由 Rafael Mendonça França 提交于
Fix #6951. Use query cache/uncache, when using not only database.yml but also DATABASE_URL.
-