aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Moved TemplateHandlers to BaseJoshua Peek2008-07-036-9/+13
|
* Tighten the rescue clause when dealing with invalid instance variable names ↵Michael Koziarski2008-07-031-1/+5
| | | | in form_helper.
* Move the file exists checks outside write_asset_file_contents.Michael Koziarski2008-07-031-6/+4
| | | | This lets us avoid the relatively costly trip through compute_*_paths if the file already exists.
* Move template_format logic out to the request so it's alongside the ↵Michael Koziarski2008-07-033-13/+15
| | | | | | 'regular' request format. Use xhr? instead of the expensive trip through Request#accepts.
* Remove unused local_binding option to InstanceTag's ConstructorMichael Koziarski2008-07-033-17/+17
|
* Remove nested ternary operators from select_year in favour of conditionals.Michael Koziarski2008-07-031-11/+20
|
* Remove unneeded ObjectWrapper class.Michael Koziarski2008-07-033-11/+3
| | | | Was previously needed to work around the semantics of a deprecated (now removed) API to render :partial
* Tighten the rescue clause here to prevent hiding strange mock related errors ↵Michael Koziarski2008-07-031-1/+1
| | | | behind the line offset test
* Remove old method of including javascripts define_javascript_functions.Michael Koziarski2008-07-033-34/+2
| | | | javascript_include_tag and friends do a much better job.
* Remove strange alias for JavaScriptHelperMichael Koziarski2008-07-031-2/+0
|
* Use :namespace instead of :path_prefix for finding controller. [#544 ↵Tarmo Tänav2008-07-032-2/+21
| | | | | | | | | | state:resolved] :namespace is supposed to be the module where controller exists. :path_prefix can contain anything, including variables, which makes it unsuitable for determining the module for a controller. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Deprecate :use_full_path render option. The supplying the option no longer ↵Joshua Peek2008-07-028-42/+45
| | | | has an effect.
* Added application/jsonrequest as a synonym for application/jsonMike Subelsky2008-07-022-5/+12
| | | | [#536 state:resolved]
* use mocha for TimeZone mocking in Form Options helper testsrick2008-07-021-504/+495
|
* Make sure render :collection doesnt set nil local when :as is absentPratik Naik2008-07-023-1/+8
|
* Add :as option to render a collection of partials with a custom local ↵Pratik Naik2008-07-028-12/+39
| | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
* Make sure render :template works with :locals. [#524 state:resolved]Tim Haines2008-07-022-1/+13
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improved test coverage and added RackRequest support for CGI environment ↵Joshua Peek2008-07-013-22/+154
| | | | variables.
* Ensure proper output when submit_tag is used with :disabled_with. [#388 ↵Scott Stewart2008-07-022-2/+11
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix indentation and update changelogs for previous commitgbuesing2008-06-292-2/+4
|
* Added support for regexp matching of priority zones in time_zone_select ↵Ernie Miller2008-06-292-2/+27
| | | | [#195 state:resolved]
* Ensure FormBuilder date helpers respects html_options. [#506 state:resolved] ↵Pratik Naik2008-06-292-11/+58
| | | | | | [Pascal Ehlert] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Allow single quote (the ' character) in the middle of URL when ↵Cheah Chu Yeow2008-06-272-1/+2
| | | | | | auto_link-ing. [#471 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Set precompiled fixture load path constant to speed up testsJoshua Peek2008-06-2516-193/+183
|
* Hide InlineTemplate class from ActionController and use ActionView's render APIJoshua Peek2008-06-252-8/+6
|
* Made ActionView::Base#render_file privateJoshua Peek2008-06-258-28/+30
|
* Consolidate CustomHandlerTest, TemplateFileTest, and TemplateObjectTest and ↵Joshua Peek2008-06-256-254/+142
| | | | test them at a higher level of abstraction in ViewRenderTest.
* Patched HTML::Document#initialize call to Node.parse so that it includes the ↵Jimmy Baker2008-06-242-1/+26
| | | | strict argument. [#330]
* Improve readabilityJeremy Kemper2008-06-242-9/+13
|
* link_to_function and button_to_function shouldn't modify their options hashesJeremy Kemper2008-06-231-2/+2
|
* Fixed polymorphic_url to be able to handle singleton resources.Tammer Saleh2008-06-223-12/+60
| | | | | | | Example usage: polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post) [#461 state:resolved]
* Horo rdoc templateJeremy Kemper2008-06-221-1/+1
|
* Performance: javascript helper tweaks to speed up escaping and reduce object ↵Jeremy Kemper2008-06-213-60/+73
| | | | allocations when building options strings
* Check whether blocks are called from erb using a special __in_erb_template ↵Jeremy Kemper2008-06-1914-159/+204
| | | | variable visible in block binding.
* Move erb_trim_mode setting to the ERB template handler. Keep a ↵Jeremy Kemper2008-06-192-5/+9
| | | | Base.erb_trim_mode= delegator around.
* fix mergerick2008-06-1949-819/+1082
|\
| * Use rdoc excludeJeremy Kemper2008-06-181-2/+2
| |
| * Exclude lib/actionpack.rb from rdocJeremy Kemper2008-06-181-1/+3
| |
| * Generate rdoc for all .rb files except those in vendorJeremy Kemper2008-06-181-1/+1
| |
| * Update Rakefiles to connect to wrath as current user. Use ssh config to set ↵Jeremy Kemper2008-06-181-3/+3
| | | | | | | | a different user.
| * Improved test coverage for integration test's apiJoshua Peek2008-06-171-5/+88
| |
| * Replaced TemplateFinder abstraction with ViewLoadPathsJoshua Peek2008-06-1717-346/+489
| |
| * Performance: PartialTemplate#initializeJeremy Kemper2008-06-171-37/+37
| |
| * Added block-call style to link_to [Sam Stephenson/DHH]David Heinemeier Hansson2008-06-173-18/+56
| |
| * Fix url_for with no arguments when default_url_options is not explicitly ↵Luke Redpath2008-06-172-3/+19
| | | | | | | | | | | | defined. [#339 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * verify :redirect_to => :back should redirect to the referrer. [#280 ↵Amos King2008-06-172-18/+35
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Correct code example in dom_id docs. [#437 state:resolved]Andrew Kaspick2008-06-171-2/+2
| |
| * Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-06-161-0/+1
| |\
| | * Reload cached templates when a new handler is registeredPratik Naik2008-06-151-0/+1
| | |
| * | Last commit message was meant for changelog.Jeremy Kemper2008-06-141-0/+2
| | |