- 03 10月, 2012 9 次提交
-
-
由 Rafael Mendonça França 提交于
This reverts commit 4e9f53f9, reversing changes made to 6b802cdb. Revert "Don't use tap in this case." This reverts commit 454d820b. Reason: Is not a good idea to add options to this method since we can do the same thing using method composition. Person.validators_on(:name).select { |v| v.kind == :presence } Also it avoids to change the method again to add more options.
-
由 Rafael Mendonça França 提交于
The use of tap in this case is very confusing since we are mutating the return value inside the block
-
由 Rafael Mendonça França 提交于
Make `.validators_on` accept `:kind` option
-
由 Prem Sichanugrist 提交于
This will filter out the validators on a particular attribute based on its kind.
-
由 Rafael Mendonça França 提交于
Make Rails.public_path return a Pathname
-
由 Prem Sichanugrist 提交于
-
由 Michael Koziarski 提交于
Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2
-
由 kennyj 提交于
-
由 Rafael Mendonça França 提交于
Fix reset_counters crashing on has_many :through associations.
-
- 02 10月, 2012 10 次提交
-
-
由 lulalala 提交于
The counter column name in the intermediate model need to be access via the through reflection.
-
由 Rafael Mendonça França 提交于
Fixes issue #5660: Failsafe exception returns text/html and text/plain.
-
由 Steve Klabnik 提交于
It's best to just return text/plain when something has gone terribly wrong. Fixes #5660.
-
由 Rafael Mendonça França 提交于
Optimize log subscribers to check if the log level is sufficient
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
Use Rack::Cache middleware only if is in Gemfile
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-
由 Rafael Mendonça França 提交于
prefix TemplateAssertions ivars. Closes #7459
-
由 Rafael Mendonça França 提交于
-
- 01 10月, 2012 21 次提交
-
-
由 Yves Senn 提交于
-
由 Rafael Mendonça França 提交于
resource and resources do no longer modify passed options
-
由 Yves Senn 提交于
this is a patch for #7777.
-
由 Rafael Mendonça França 提交于
warning fixed: (...) interpreted as grouped expression
-
由 Arun Agrawal 提交于
-
由 Jeremy Kemper 提交于
fix broken cache tests
-
由 Brian Durand 提交于
-
由 Santiago Pastorino 提交于
Fix the build (Broken scaffold routes test)
-
由 Jeremy Walker 提交于
-
由 Jeremy Kemper 提交于
fix cache store test
-
由 Steve Klabnik 提交于
Pull #7800 broke the build, this should fix it.
-
由 Michael Koziarski 提交于
Available both as an env entry for rack and an instance method on Rails::Application for other uses
-
由 Rafael Mendonça França 提交于
Master branch: Fixed generated whitespace in routes when using namespaced resource.
-
由 Michael Koziarski 提交于
This will be used to derive keys from the secret and a salt, in order to allow us to do things like encrypted cookie stores without using the secret for multiple purposes directly.
-
由 Jeremy Kemper 提交于
Add a changelog entry for asset aliasing update in sprockets-rails. Supports referencing foo.js as foo/index.js and vice versa.
-
由 Xavier Noria 提交于
Fix other assertions that were backwards.
-
由 Steve Klabnik 提交于
This time I used ack.
-
由 Xavier Noria 提交于
fix order of assertions.
-
由 Steve Klabnik 提交于
-
由 Brian Durand 提交于
-
由 Brian Durand 提交于
-