aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that default_url_options, if defined, are used in named routes.Cheah Chu Yeow2008-05-042-5/+5
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#22 state:resolved]
* Improve documentation coverage and markupXavier Noria2008-05-0230-278/+337
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improve PartialTemplate testsPratik Naik2008-05-022-7/+7
|
* Capture view errors in ActionView::Template.Nathan Weizenbaum2008-05-024-13/+16
| | | | | | | This means that errors raised by partials are caught by ActionView::PartialTemplate, which in turn means they have the proper filename and line number information. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed that TextHelper#text_field would corrypt when raw HTML was used as the ↵David Heinemeier Hansson2008-05-011-0/+1
| | | | value (mchenryc, Kevin Glowacz) [#80 state:resolved]
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-05-011-3/+6
|\
| * Accept header mime parser can now deal with empty fieldsTobias Lütke2008-05-011-3/+6
| |
* | Made the location of the routes file configurable with ↵David Heinemeier Hansson2008-05-011-6/+6
|/ | | | config.routes_configuration_file (Scott Fleckenstein) [#88 state:resolved]
* Fixed render :template for templates in top level of view path. [#54 ↵Pratik Naik2008-05-011-1/+6
| | | | state:resolved]
* Fixed labels that have a bracketed name and an index [#68 state:resolved]Kevin Glowacz2008-04-301-0/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* FormHelper#label_tag accepts :for option [encoded] [#38 state:resolved]Joshua Peek2008-04-301-8/+10
|
* Fixed tests (and the weird assumption that no logger would mean that the ↵David Heinemeier Hansson2008-04-301-1/+1
| | | | code wasnt run)
* Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved]David Heinemeier Hansson2008-04-301-1/+1
|
* Clarify confusing ActionController::Base.allow_concurrency flag.Jeremy Kemper2008-04-281-3/+4
|
* Ruby 1.9 compat: force assert_select text encoding to the encoding of the ↵Jeremy Kemper2008-04-281-1/+4
| | | | regexp it's matching against.
* Fixed that BenchmarkHelper should use controller.logger instead of @logger ↵David Heinemeier Hansson2008-04-271-3/+5
| | | | (which now apparently is gone)
* Added ActionController::TestCase#rescue_action_in_public! to control whether ↵David Heinemeier Hansson2008-04-271-2/+21
| | | | the action under test should use the regular rescue_action path instead of simply raising the exception inline (great for error testing) [DHH]
* Changing "and" to && whereever I catch itDavid Heinemeier Hansson2008-04-271-1/+1
|
* Pass template object to Handler#compilePratik Naik2008-04-244-4/+4
|
* Make sure member names aren't mistakenly set to nil when providing :path_namesEugene Pimenov2008-04-231-1/+1
| | | | | | [#19 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Delegate ivars to controller instead of copyingPratik Naik2008-04-212-6/+6
| | | | | Reduce number of instance variables being copied from controller to view. Instead, delegate them to controller instance.
* select_datetime and select_time default to Time.zone.now when ↵gbuesing2008-04-211-2/+2
| | | | config.time_zone is set
* datetime_select defaults to Time.zone.now when config.time_zone is setgbuesing2008-04-211-1/+1
|
* Remove ActionController::Base#view_controller_internalsPratik Naik2008-04-212-29/+6
| | | | | | Get rid of ActionController::Base#view_controller_internals flag and use @@protected_view_variables for storing the list of controller specific instance variables which should be inaccessible inside views.
* Remove ActionController::Base#add_class_variables_to_assignsPratik Naik2008-04-211-7/+0
|
* Add conditional options to caches_page method [#25 state:resolved]Paul Horsfall2008-04-191-2/+10
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove unused ignore_missing_templates optionPratik Naik2008-04-191-4/+1
|
* Introduce ActionView::TestCase for testing view helpers.Joshua Peek2008-04-193-6/+74
|
* Move missing template logic to ActionViewPratik Naik2008-04-195-23/+15
|
* Introduce ActionView::InlineTemplate classPratik Naik2008-04-195-15/+32
|
* Refactor Dispatcher callbacks to remove unnecessary Dependencies checks in ↵Pratik Naik2008-04-181-40/+33
| | | | production environment.
* Tidy up ActiveSupport::Callbacks::CallbackChain instance API.Joshua Peek2008-04-172-4/+4
|
* Merge branch 'master' of git://github.com/stephencelis/railsJoshua Peek2008-04-141-3/+3
|\
| * Scripts and styles with multiple dots in the filename should cacheStephen Celis2008-04-121-3/+3
| |
* | Added Rails.public_path to control where HTML and assets are expected to be ↵David Heinemeier Hansson2008-04-134-5/+5
|/ | | | loaded from (defaults to Rails.root + "/public") #11581 [nicksieger]
* Merge branch 'master' into custom_paths_for_resource_namesMichael Koziarski2008-04-121-6/+7
|\
| * Ruby 1.9 compat: workaround module_eval issueJeremy Kemper2008-04-111-6/+7
| |
* | Allow alternative values for the 'new' and 'edit' actions in resourceful routes.Michael Koziarski2008-04-122-3/+22
|/ | | | | | map.resource :schools, :as => 'escuelas', :path_names => { :new => 'nueva' } Closes #11181. [ivanvr]
* Fixed that formatted_polymorphic_route should be able to take the :format as ↵David Heinemeier Hansson2008-04-111-1/+11
| | | | part of a single hash or as the option hash (references #8741)
* Automatically parse posted JSON content for Mime::JSON requests. [rick]Rick Olson2008-04-083-7/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add json_escape ERB util to escape html entities in json strings that are ↵Rick Olson2008-04-081-1/+19
| | | | | | output in HTML pages. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide a helper proxy to access helper methods from outside views. Closes ↵Josh Peek2008-04-061-0/+9
| | | | | | #10839 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-04-053-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replaced callback method evaluation in AssociationCollection class to use ↵Josh Peek2008-04-041-2/+8
| | | | | | ActiveSupport::Callbacks. Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546Pratik Naik2008-04-021-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: toplevel AS reference within BasicObjectJeremy Kemper2008-04-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: encoding and multibyte test fixesJeremy Kemper2008-04-011-22/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: don't confuse with headers method callJeremy Kemper2008-04-011-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unnecessary arguments. References #11491.Pratik Naik2008-04-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support render :partial => collection of heterogeneous elements. Closes #11491.Jeremy Kemper2008-04-012-10/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de