- 17 9月, 2012 16 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
Change AMo::ForbiddenAttributesProtection tests to use a subclass of Hash instead of monkey patch permitted? method in regular hashes
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
This will be moved out to protected_attributes gem
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-
由 Rafael Mendonça França 提交于
improve AR/CHANGELOG [ci skip]
-
由 Francesco Rodriguez 提交于
-
由 Rafael Mendonça França 提交于
Adds migration and type casting support for PostgreSQL Array datatype
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Don't preserve SELECT columns on COUNT Closes #7651
-
由 Steve Klabnik 提交于
The COUNT clause of a finder_sql relationship is being rewritten from COUNT(*) to COUNT(table_name.*). This does not appear to be valid syntax in MySQL: ``` mysql> SELECT COUNT( table_name.* ) FROM `table_name`; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* ) FROM `table_name`' at line 1 ``` This fixes the bug, as well as adding tests so we don't re-introduce it in the future. Fixes #3956.
-
由 Rafael Mendonça França 提交于
Set up config_accessor with a default value by block
-
由 Larry Lv 提交于
* ActiveSupport::Configurable should allow config_accessor to take default value by block, just like cattr_accessor. class User include ActiveSupport::Configurable config_accessor :hair_colors do [:brown, :black, :blonde, :red] end end User.hair_colors # => [:brown, :black, :blonde, :red] * remove trailing whitespaces in configurable.rb and its test file. * Update ActiveSupport CHANGELOG.
-
由 Piotr Sarnacki 提交于
Don't explain except normal CRUD sql.
-
- 16 9月, 2012 4 次提交
-
-
由 kennyj 提交于
-
由 Carlos Antonio da Silva 提交于
Fix find_in_batches with customized primary_key
-
由 Toshiyuki Kawanishi 提交于
-
由 Rafael Mendonça França 提交于
Query for loading index info should be marked as SCHEMA.
-
- 15 9月, 2012 20 次提交
-
-
由 Xavier Noria 提交于
Clarify the documentation on the Rails::Application#call method
-
由 David Czarnecki 提交于
-
由 Rafael Mendonça França 提交于
This fix the build http://travis-ci.org/#!/rails/rails/builds/2459981
-
由 Rafael Mendonça França 提交于
fix the build
-
由 Steve Klabnik 提交于
-
由 kennyj 提交于
-
由 kennyj 提交于
-
由 Rafael Mendonça França 提交于
Deprecate ActiveSupport::Benchmarkable#silence.
-
由 Xavier Noria 提交于
Improve Process::Status#to_json
-
由 Steve Klabnik 提交于
Because Process::Status has no instance_variables, the ActiveSupport version of #to_json produces {}, which isn't good. Therefore, we implement our own #as_json, which makes it useful again. Fixes #4857
-
由 Rafael Mendonça França 提交于
Support for multiple etags in an If-None-Match header
-
由 Rafael Mendonça França 提交于
-
由 Travis Warlick 提交于
This is a rebased version of #2520. Conflicts: actionpack/test/dispatch/request_test.rb
-
由 Rafael Mendonça França 提交于
Few more warnings removed.
-
由 Jon Leighton 提交于
-
由 Arun Agrawal 提交于
I found them when I was running warning mode on with railties See https://github.com/rails/rails/pull/3782
-
由 Steve Klabnik 提交于
Due to its lack of thread safety, we're deprecating this, and it will be removed in Rails 4.1. Fixes #4060.
-
由 Jon Leighton 提交于
Accidentally checked in commented test code. Fail. >_<
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
This method was first seen in 045713ee, and subsequently reimplemented in fb2325e3. According to @jeremy, this is okay to remove. He thinks it was added because at the time we didn't have much transaction state to keep track of, and he viewed it as a hack for us to track it internally, thinking it was better to ask the connection for the transaction state. Over the years we have added more and more state to track, a lot of which is impossible to ask the connection for. So it seems that this is just a relic of the passed and we will just track the state internally only.
-