aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add turbolinks as development dependencyRafael Mendonça França2012-10-041-0/+1
|
* Remove unneeded CHANGELOG entry.Rafael Mendonça França2012-10-041-3/+0
| | | | | | | This was added in Rails 4 and we don't need changelog entries to behavior changes [ci skip]
* Merge pull request #7847 from bloudermilk/recursive_permitDavid Heinemeier Hansson2012-10-043-0/+15
|\ | | | | ActionController::Parameters#permit! is recursive
| * ActionController::Parameters#permit! is recursiveBrendan Loudermilk2012-10-043-0/+15
| |
* | Do not set removed optionRafael Mendonça França2012-10-041-1/+0
| | | | | | | | | | Sine page caching was remove from the core we don't have the page_cache_directory anymore
* | Turn turbolinks on by default for new appsDavid Heinemeier Hansson2012-10-043-4/+11
|/
* Merge pull request #7833 from frodsan/extract_ap_pages_actions_cachingRafael Mendonça França2012-10-048-1138/+65
|\ | | | | Extract AP Page and Action caching from Rails
| * add an entry about AP page and action extraction in the upgrading guide [ci ↵Francesco Rodriguez2012-10-041-0/+7
| | | | | | | | skip]
| * add CHANGELOG entry for AP page and action caching extraction [ci skip]Francesco Rodriguez2012-10-041-0/+11
| |
| * rename page_cache_extension option to default_static_extensionFrancesco Rodriguez2012-10-033-11/+28
| |
| * extract AP Page and Action caching to actionpack-deprecated_caching gemFrancesco Rodriguez2012-10-035-1138/+30
| |
* | Merge pull request #7846 from ahaymond/masterRafael Mendonça França2012-10-041-2/+2
|\ \ | | | | | | Updated comments for [ci skip]
| * | Update activerecord/lib/active_record/persistence.rbAdam Haymond2012-10-041-2/+2
|/ / | | | | - Changed the comments documentation for the update_column(s) methods to add a little bit of clarity
* | Merge pull request #7769 from rgarver/feature/public-fragment_name_with_digestDavid Heinemeier Hansson2012-10-041-11/+12
|\ \ | | | | | | Move the CacheHelper#fragment_name_with_digest to be public
| * | Add nodoc to now public fragment_name_with_digestRyan Garver2012-10-041-0/+1
| | |
| * | Merge branch 'master' into feature/public-fragment_name_with_digestRyan Garver2012-10-0414-10/+122
| |\ \ | |/ / |/| |
* | | Fix CHANGELOG entry [ci skip]Rafael Mendonça França2012-10-041-4/+4
| | |
* | | Merge pull request #6978 from frodsan/count_nosql_unsaved_parentRafael Mendonça França2012-10-035-0/+37
|\ \ \ | |_|/ |/| | Count returns 0 without querying if parent is not saved
| * | Count returns 0 without querying if parent is not savedFrancesco Rodriguez2012-10-035-0/+37
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | RefactorSantiago Pastorino2012-10-031-5/+4
| |
* | Use the `flat_map` method.Rafael Mendonça França2012-10-031-2/+2
| | | | | | | | Thanks to @jeremy to teach me this one.
* | Revert "Merge pull request #7826 from sikachu/master-validators-kind"Rafael Mendonça França2012-10-023-32/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4e9f53f9736544f070e75e516c71137b7eb49a7a, reversing changes made to 6b802cdb4f5b84e1bf49aaeb0e994b3be6028af9. Revert "Don't use tap in this case." This reverts commit 454d820bf0a18fe1db4c55b0145197d70fef1f82. 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.
* | Don't use tap in this case.Rafael Mendonça França2012-10-021-5/+7
| | | | | | | | | | The use of tap in this case is very confusing since we are mutating the return value inside the block
* | Merge pull request #7826 from sikachu/master-validators-kindRafael Mendonça França2012-10-023-1/+30
|\ \ | | | | | | Make `.validators_on` accept `:kind` option
| * | Make `.validators_on` accept `:kind` optionPrem Sichanugrist2012-10-023-1/+30
| | | | | | | | | | | | | | | This will filter out the validators on a particular attribute based on its kind.
* | | Merge pull request #7825 from sikachu/master-rails-pathnameRafael Mendonça França2012-10-023-2/+12
|\ \ \ | |/ / |/| | Make Rails.public_path return a Pathname
| * | Make Rails.public_path return a PathnamePrem Sichanugrist2012-10-023-2/+12
|/ /
* | Merge pull request #6952 from NZKoz/key_generatorMichael Koziarski2012-10-025-1/+67
|\ \ | | | | | | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2
| * | Provide access to the application's KeyGeneratorMichael Koziarski2012-10-012-1/+11
| | | | | | | | | | | | Available both as an env entry for rack and an instance method on Rails::Application for other uses
| * | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2Michael Koziarski2012-10-013-0/+56
| | | | | | | | | | | | | | | | | | 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.
| | * Merge branch 'master' into feature/public-fragment_name_with_digestRyan Garver2012-10-0292-650/+1086
| | |\ | |_|/ |/| |
* | | fix warning: method redefinedkennyj2012-10-022-2/+2
| | |
* | | Merge pull request #7822 from lulalala/reset-counter-cache-for-has-many-throughRafael Mendonça França2012-10-025-4/+28
|\ \ \ | | | | | | | | Fix reset_counters crashing on has_many :through associations.
| * | | Fix reset_counters() crashing on has_many :through associations.lulalala2012-10-025-4/+28
| | | | | | | | | | | | | | | | | | | | The counter column name in the intermediate model need to be access via the through reflection.
* | | | Merge pull request #7636 from steveklabnik/issue_5660Rafael Mendonça França2012-10-013-3/+21
|\ \ \ \ | | | | | | | | | | Fixes issue #5660: Failsafe exception returns text/html and text/plain.
| * | | | Failsafe exception returns text/plain.Steve Klabnik2012-10-013-3/+21
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | It's best to just return text/plain when something has gone terribly wrong. Fixes #5660.
* | | | Merge pull request #7708 from bdurand/optimize_log_subscribersRafael Mendonça França2012-10-015-14/+28
|\ \ \ \ | |/ / / |/| | | Optimize log subscribers to check if the log level is sufficient
| * | | Merge branch 'optimize_log_subscribers' of github.com:bdurand/rails into ↵Brian Durand2012-09-300-0/+0
| |\ \ \ | | | | | | | | | | | | | | | optimize_log_subscribers
| | * | | Fix ActionMailer::LogSubscriber to use the correct log level check.Brian Durand2012-09-191-2/+2
| | | | |
| | * | | Optimize log subscribers to check if the log level is sufficient before ↵Brian Durand2012-09-194-14/+26
| | | | | | | | | | | | | | | | | | | | performing an operations.
| * | | | Optimize log subscribers to check if the log level is sufficient before ↵Brian Durand2012-09-305-14/+28
| |/ / / | | | | | | | | | | | | performing an operations.
* | | | Add the CHANGELOG entry that Guillermo forgot :PSantiago Pastorino2012-10-021-0/+5
| | | |
* | | | Merge pull request #7794 from guilleiguaran/extract-rack-cacheSantiago Pastorino2012-10-015-1/+16
|\ \ \ \ | | | | | | | | | | Use Rack::Cache middleware only if is in Gemfile
| * | | | Add rack-cache to default GemfileGuillermo Iguaran2012-10-012-0/+9
| | | | |
| * | | | Use Rack::Cache middleware only if is in GemfileGuillermo Iguaran2012-10-013-1/+7
| | | | |
* | | | | Merge pull request #7797 from senny/7459_prefix_tempalte_assertion_variablesRafael Mendonça França2012-10-013-23/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | prefix TemplateAssertions ivars. Closes #7459
| * | | | | prefix TemplateAssertions ivars (#7459)Yves Senn2012-10-013-23/+29
| | | | | |
* | | | | | New CHANGELOG entries always in the topRafael Mendonça França2012-10-011-2/+2
|/ / / / /
* | | | | Merge pull request #7789 from senny/7777_resource_functions_modify_optionsRafael Mendonça França2012-10-013-2/+27
|\ \ \ \ \ | | | | | | | | | | | | resource and resources do no longer modify passed options
| * | | | | resource and resources do no longer modify passed optionsYves Senn2012-10-013-2/+27
|/ / / / / | | | | | | | | | | | | | | | this is a patch for #7777.