aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Don't refer to ActionController::Base in the wrap_parameters initializer - ↵Jon Leighton2011-08-161-0/+2
| | | | | | | | use config object instead. Cuts about 15% off the load time. (#734)
* | rake assets:precompile executes in production environment as default if ↵Santiago Pastorino2011-08-151-4/+4
| | | | | | | | RAILS_ENV was not provided
* | Ensure changing RAILS_GROUPS will load the proper dependencies.José Valim2011-08-141-13/+16
| |
* | Methods like status and location are interfering with redirect_to [Closes #2511]Franck Verrot2011-08-141-3/+3
| |
* | Merge branch 'master' of github.com:lifo/docrailsXavier Noria2011-08-132-19/+103
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: RELEASING_RAILS.rdoc actionpack/lib/sprockets/railtie.rb actionpack/test/template/sprockets_helper_test.rb activerecord/test/cases/calculations_test.rb railties/guides/source/3_1_release_notes.textile railties/guides/source/active_resource_basics.textile railties/guides/source/command_line.textile
| * | Typo fixOge Nnadi2011-08-131-1/+1
| | |
| * | update abstract_controller callbacks to document meta-programmed filtersgeemus2011-08-131-18/+102
| | |
| * | ActionView::Helpers::TextHelper#simple_format should not change the text in ↵Casebook Developer2011-08-131-1/+1
| | | | | | | | | | | | place. Now it duplicates it.
| * | fix stringify_keys destructive behavior for most FormTagHelper functionsWaynn Lue2011-08-131-4/+4
| | | | | | | | | | | | add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355
| * | Fix the issue where default_url_options is being cached on test cases. ↵thoefer2011-08-132-0/+6
| | | | | | | | | | | | | | | | | | Closes #1872. Closes #2031. Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Rename new method to_path to to_partial_path to avoid conflicts with ↵José Valim2011-08-132-7/+7
| | | | | | | | | | | | File#to_path and similar.
| * | remove redundant calls to stringify_keysWaynn Lue2011-08-131-2/+2
| | |
| * | We don't need to require erb here.Franck Verrot2011-08-131-1/+0
| | |
| * | Make use of the inherited initializer.thedarkone2011-08-131-3/+2
| | |
| * | There is no need to be destructive with the passed-in options.thedarkone2011-08-131-6/+6
| | | | | | | | | | | | This fixes a bug that is caused by Resource/SingletonResource mangling resource options when using inline "multi"-resource declarations.
| * | Move the cache to a nested hash which performs better than a hash with array ↵José Valim2011-08-131-11/+17
| | | | | | | | | | | | as keys.
| * | Rename class method to_path to _to_path and make it explicit that it is an ↵José Valim2011-08-131-2/+2
| | | | | | | | | | | | internal method.
| * | Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-08-132-23/+28
| | | | | | | | | | | | | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.
| * | Make Rails.application.assets available in initializersJoshua Peek2011-08-131-44/+36
| | |
| * | Improve performance and memory usage for options_for_select with Ruby 1.8.7Christos Zisopoulos2011-08-131-2/+2
| | |
| * | simplify conditionals by assuming hash values will never be `false`Aaron Patterson2011-08-131-10/+2
| | |
| * | use regular ruby rather than clever rubyAaron Patterson2011-08-131-3/+3
| | |
| * | fixing wildcard path matching when wildcard is inside parenthesisAaron Patterson2011-08-131-1/+1
| | |
| * | Remove blank lineSantiago Pastorino2011-08-131-1/+0
| | |
| * | refactored 'assert_redirected_to': local call to validate_request! will be ↵thoefer2011-08-131-5/+4
| | | | | | | | | | | | called in assert_response already. changed names of local variables in order to recognize the semantics a bit easier.
| * | fixed problem in which options[:html][:remote] would be overridden in ↵Dan Gebhardt2011-08-131-1/+1
| | | | | | | | | | | | form_for() - fixes #2094
| * | use_sprockets is not used anymoreSantiago Pastorino2011-08-131-5/+1
| | |
| * | Allow a route to have :format => trueErik Michaels-Ober2011-08-131-0/+2
| | | | | | | | | | | | | | | | | | When format is true, it is mandatory (as opposed to :format => false). This is currently not possible with resource routes, which automatically make format optional by default.
| * | Remove unused use_sprockets configSantiago Pastorino2011-08-132-8/+1
| | |
| * | document meta methodVijay Dev2011-07-291-3/+3
| | |
* | | We need [] method here. previously it's an array.Arun Agrawal2011-08-131-0/+4
| | |
* | | We actually don't need a reverse_merge! here. dup removed was giving error ↵Arun Agrawal2011-08-121-1/+1
| | | | | | | | | | | | with nil class.
* | | when calling url_for with a hash, additional (likely unwanted) values (such ↵Andrew Kaspick2011-08-111-1/+1
| | | | | | | | | | | | as :host) would be returned in the hash... calling #dup on the hash prevents this
* | | Remove 'parameters_for_url' parameter from 'form_tag' method signatureGonzalo Rodriguez and Leonardo Capillera2011-08-101-4/+4
| | | | | | | | | | | | | | | If you use that parameter it will end calling to url_for with two arguments, which fails because url_for expects only one
* | | Remove lame comment.José Valim2011-08-091-1/+0
| | |
* | | rake assets:precompile defaults to production envSantiago Pastorino2011-08-091-0/+1
| | |
* | | adding missing require to fist railties testsAaron Patterson2011-08-091-0/+2
| | |
* | | deprecating process_view_pathsAaron Patterson2011-08-093-2/+4
| | |
* | | avoid object creation via useless duping and freezingAaron Patterson2011-08-091-3/+2
| | |
* | | just use map and case / when rather than modifying the iterating arrayAaron Patterson2011-08-091-5/+8
| | |
* | | only typecast what we need to typecastAaron Patterson2011-08-091-11/+9
| | |
* | | Favor composition over inheritance.Aaron Patterson2011-08-091-6/+48
| | |
* | | Array#+ automatically dups, no double dupingAaron Patterson2011-08-091-2/+2
| | |
* | | Just remove the sort_locals methodAaron Patterson2011-08-091-12/+1
| | |
* | | the freeze trick does nothing on arrays used as hash keys.Aaron Patterson2011-08-091-2/+1
| | |
* | | use functional style to build a list of template objectsAaron Patterson2011-08-091-9/+12
| | |
* | | refactor the optimized build_query a bitAaron Patterson2011-08-081-8/+3
| | |
* | | reduce file stats by improving our dir glob patternAaron Patterson2011-08-081-1/+1
| | |
* | | hash on the template directory in order to improve cache hitsAaron Patterson2011-08-081-2/+3
| | |
* | | use meaningful names with our variablesAaron Patterson2011-08-081-6/+6
| | |