aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Reenable the use of the Accept header to give people a chance to update ↵Michael Koziarski2008-07-091-4/+5
| | | | their applications and provide feedback.
* Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵David Heinemeier Hansson2008-07-091-0/+2
| | | | to stay consistent with link_to_remote (submit_to_remote still works as an alias) (clemens) [#8994 status:closed]
* Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵Damian Janowski2008-07-081-0/+2
| | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Disable the Accept header by defaultMichael Koziarski2008-07-071-0/+10
| | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format]
* Do not stat template files in production mode before rendering. You will no ↵Joshua Peek2008-07-051-0/+2
| | | | longer be able to modify templates in production mode without restarting the server
* Deprecated TemplateHandler line offsetJoshua Peek2008-07-051-0/+2
|
* Simplify the implementation of assert_redirected_to to normalise the urls ↵Michael Koziarski2008-07-041-0/+5
| | | | | | before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion. Also allows for assert_redirected_to @some_record
* Remove old broken follow_redirect from functional tests. Still works in ↵Michael Koziarski2008-07-041-0/+5
| | | | | | integration tests. The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes.
* Allow caches_action to accept cache store options. [#416 state:resolved]josevalim2008-07-041-0/+4
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Remove old method of including javascripts define_javascript_functions.Michael Koziarski2008-07-031-0/+2
| | | | javascript_include_tag and friends do a much better job.
* Deprecate :use_full_path render option. The supplying the option no longer ↵Joshua Peek2008-07-021-0/+2
| | | | has an effect.
* Add :as option to render a collection of partials with a custom local ↵Pratik Naik2008-07-021-0/+6
| | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
* Fix indentation and update changelogs for previous commitgbuesing2008-06-291-0/+2
|
* Made ActionView::Base#render_file privateJoshua Peek2008-06-251-0/+2
|
* Fixed polymorphic_url to be able to handle singleton resources.Tammer Saleh2008-06-221-0/+2
| | | | | | | Example usage: polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post) [#461 state:resolved]
* Replaced TemplateFinder abstraction with ViewLoadPathsJoshua Peek2008-06-171-0/+2
|
* Added block-call style to link_to [Sam Stephenson/DHH]David Heinemeier Hansson2008-06-171-0/+6
|
* Last commit message was meant for changelog.Jeremy Kemper2008-06-141-0/+2
|
* Improve ActionCaching's format-handlingJonathan del Strother2008-06-111-0/+2
| | | | | | | | Make ActionCaching more aware of different mimetype formats. It will now use request.format to look up the cache type, in addition to the path extension. When expiring caches, the request format no longer affects which cache is expired. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make sure cache_template_loading works and don't use to_prepare callbackPratik Naik2008-06-111-2/+0
|
* Ensure ActionView::TemplateFinder view cache is rebuilt on initialize.Joshua Peek2008-06-081-0/+2
|
* Drop ActionController::Base.allow_concurrency flagJoshua Peek2008-06-081-0/+2
|
* Changelog: More efficient concat and capture helpers. Remove ↵Jeremy Kemper2008-06-071-0/+2
| | | | ActionView::Base.erb_variable.
* Add RJS#page.reload. [#277 state:resolved]Sean Huber2008-06-041-0/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and ↵David Heinemeier Hansson2008-06-031-0/+4
| | | | HTTP_X_FORWARDED_FOR doesnt match (not just if theyre both present) [Mark Imbriaco, Bradford Folkens]
* Allow caches_action to accept a layout option [#198 state:resolved]josevalim2008-06-031-0/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added Rack processorEzra Zygmuntowicz2008-06-011-0/+3
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Making ready for release of 2.1David Heinemeier Hansson2008-05-311-2/+2
|
* InstanceTag#default_time_from_options overflows to DateTimegbuesing2008-05-181-0/+2
|
* Merge branch 'master' of git@github.com:rails/railsrick2008-05-131-1/+5
|\
| * Making ready for RC1 releaseDavid Heinemeier Hansson2008-05-111-1/+1
| |
| * Fixed that forgery protection can be used without session tracking (Peter ↵David Heinemeier Hansson2008-05-111-0/+2
| | | | | | | | Jones) [#139 state:resolved]
| * Added session(:on) to turn session management back on in a controller ↵David Heinemeier Hansson2008-05-111-0/+2
| | | | | | | | subclass if the superclass turned it off (Peter Jones) [#136 state:resolved]
* | fix merge conflict with actionpack changelogrick2008-05-101-0/+3
|\|
| * ActionView::InstanceTag#default_time_from_options with hash args uses ↵gbuesing2008-05-081-0/+2
| | | | | | | | Time.current as default; respects hash settings when time falls in system local spring DST gap
| * Adding Date.current, which returns Time.zone.today if config.time_zone is ↵gbuesing2008-05-081-0/+2
| | | | | | | | set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default
* | Change the request forgery protection to go by Content-Type instead of ↵rick2008-05-061-0/+2
|/ | | | request.format so that you can't bypass it by POSTing to "#{request.uri}.xml" [#73 state:resolved]
* Fixed that TextHelper#text_field would corrypt when raw HTML was used as the ↵David Heinemeier Hansson2008-05-011-0/+2
| | | | value (mchenryc, Kevin Glowacz) [#80 state:resolved]
* Added ActionController::TestCase#rescue_action_in_public! to control whether ↵David Heinemeier Hansson2008-04-271-0/+2
| | | | the action under test should use the regular rescue_action path instead of simply raising the exception inline (great for error testing) [DHH]
* Delegate ivars to controller instead of copyingPratik Naik2008-04-211-0/+2
| | | | | 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-0/+2
| | | | config.time_zone is set
* datetime_select defaults to Time.zone.now when config.time_zone is setgbuesing2008-04-211-0/+2
|
* Remove ActionController::Base#view_controller_internalsPratik Naik2008-04-211-0/+2
| | | | | | 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.
* Add conditional options to caches_page method [#25 state:resolved]Paul Horsfall2008-04-191-0/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Move missing template logic to ActionViewPratik Naik2008-04-191-0/+2
|
* Introduce ActionView::InlineTemplate classPratik Naik2008-04-191-0/+2
|
* Automatically parse posted JSON content for Mime::JSON requests. [rick]Rick Olson2008-04-081-0/+10
| | | | 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-0/+2
| | | | | | 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/+3
| | | | | | #10839 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-04-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de