aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* 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-013-0/+19
| | | | value (mchenryc, Kevin Glowacz) [#80 state:resolved]
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-05-012-3/+13
|\
| * Accept header mime parser can now deal with empty fieldsTobias Lütke2008-05-012-3/+13
| |
* | Made the location of the routes file configurable with ↵David Heinemeier Hansson2008-05-012-6/+16
|/ | | | config.routes_configuration_file (Scott Fleckenstein) [#88 state:resolved]
* Fixed render :template for templates in top level of view path. [#54 ↵Pratik Naik2008-05-014-3/+30
| | | | state:resolved]
* Fixed labels that have a bracketed name and an index [#68 state:resolved]Kevin Glowacz2008-04-302-0/+13
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* FormHelper#label_tag accepts :for option [encoded] [#38 state:resolved]Joshua Peek2008-04-302-62/+72
|
* Forgot theseDavid Heinemeier Hansson2008-04-303-0/+8
|
* Fixed tests (and the weird assumption that no logger would mean that the ↵David Heinemeier Hansson2008-04-302-20/+8
| | | | code wasnt run)
* Added test for has_one partial rendering (keeran) [#43 state:resolved]David Heinemeier Hansson2008-04-303-1/+20
|
* Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved]David Heinemeier Hansson2008-04-303-11/+9
|
* Implement increment/decrement on cache storage engines, using read/write by ↵Tobias Lütke2008-04-291-3/+2
| | | | default and using atomic command on memcache
* 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-282-5/+15
| | | | 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-272-2/+23
| | | | 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-232-8/+39
| | | | | | [#19 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Delegate ivars to controller instead of copyingPratik Naik2008-04-214-10/+23
| | | | | 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-213-2/+22
| | | | config.time_zone is set
* datetime_select defaults to Time.zone.now when config.time_zone is setgbuesing2008-04-213-1/+39
|
* Remove ActionController::Base#view_controller_internalsPratik Naik2008-04-214-45/+8
| | | | | | 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-193-3/+20
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove unused ignore_missing_templates optionPratik Naik2008-04-192-5/+1
|
* Introduce ActionView::TestCase for testing view helpers.Joshua Peek2008-04-1921-131/+190
|
* Move missing template logic to ActionViewPratik Naik2008-04-1913-31/+25
|
* Introduce ActionView::InlineTemplate classPratik Naik2008-04-197-18/+37
|
* Refactor Dispatcher callbacks to remove unnecessary Dependencies checks in ↵Pratik Naik2008-04-182-78/+50
| | | | production environment.
* Tidy up ActiveSupport::Callbacks::CallbackChain instance API.Joshua Peek2008-04-172-4/+4
|
* Stub out Dispatcher#log_failsafe_exception method to please the test gods.Joshua Peek2008-04-151-3/+6
|
* Merge branch 'master' of git://github.com/stephencelis/railsJoshua Peek2008-04-144-11/+13
|\
| * Scripts and styles with multiple dots in the filename should cacheStephen Celis2008-04-124-11/+13
| |
* | Added Rails.public_path to control where HTML and assets are expected to be ↵David Heinemeier Hansson2008-04-135-9/+25
|/ | | | loaded from (defaults to Rails.root + "/public") #11581 [nicksieger]
* Merge branch 'master' into custom_paths_for_resource_namesMichael Koziarski2008-04-122-7/+8
|\
| * stub the instance method, there is no class methodJeremy Kemper2008-04-111-1/+1
| |
| * 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-123-3/+28
|/ | | | | | 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-112-4/+19
| | | | 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-085-8/+47
| | | | 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-083-14/+30
| | | | | | 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-063-0/+28
| | | | | | #10839 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-04-054-7/+9
| | | | 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-024-1/+26
| | | | 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-013-28/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: proc arityJeremy Kemper2008-04-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de