- 05 10月, 2012 15 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-
由 Rafael Mendonça França 提交于
bare is true. We need to change this since coffee-rails loads ActionView that loads core_ext/array/access.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
This was added in Rails 4 and we don't need changelog entries to behavior changes [ci skip]
-
由 David Heinemeier Hansson 提交于
ActionController::Parameters#permit! is recursive
-
由 Brendan Loudermilk 提交于
-
由 Rafael Mendonça França 提交于
Sine page caching was remove from the core we don't have the page_cache_directory anymore
-
由 David Heinemeier Hansson 提交于
-
由 Rafael Mendonça França 提交于
Extract AP Page and Action caching from Rails
-
由 Rafael Mendonça França 提交于
Updated comments for [ci skip]
-
由 Adam Haymond 提交于
- Changed the comments documentation for the update_column(s) methods to add a little bit of clarity
-
由 Francesco Rodriguez 提交于
-
- 04 10月, 2012 9 次提交
-
-
由 Francesco Rodriguez 提交于
-
由 David Heinemeier Hansson 提交于
Move the CacheHelper#fragment_name_with_digest to be public
-
由 Ryan Garver 提交于
-
由 Ryan Garver 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Count returns 0 without querying if parent is not saved
-
由 Francesco Rodriguez 提交于
Patches `CollectionAssociation#count` to return 0 without querying if the parent record is new. Consider the following code: class Account has_many :dossiers end class Dossier belongs_to :account end a = Account.new a.dossiers.build # before patch a.dossiers.count # SELECT COUNT(*) FROM "dossiers" WHERE "dossiers"."account_id" IS NULL # => 0 # after a.dosiers.count # fires without sql query # => 0 Fixes #1856.
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
- 03 10月, 2012 12 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Rafael Mendonça França 提交于
Thanks to @jeremy to teach me this one.
-
由 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
-
由 Ryan Garver 提交于
-
由 kennyj 提交于
-
由 Rafael Mendonça França 提交于
Fix reset_counters crashing on has_many :through associations.
-
- 02 10月, 2012 4 次提交
-
-
由 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
-