aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* code gardening: we have assert_(nil|blank|present), more concise, with ↵Xavier Noria2010-08-176-12/+12
| | | | better default failure messages - let's use them
* annoted_source_code may return nil if an error happens during template ↵José Valim2010-08-161-1/+1
| | | | compiling.
* select tags coerce the :selected option, options to strings before ↵Subba Rao Pasupuleti2010-08-152-9/+74
| | | | | | comparison [#5056 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow for any possible TLD when using the :all option with the cookie ↵Bryce Thornton2010-08-152-9/+47
| | | | | | session store. This works for subdomain.mysite.local, google.co.uk, google.com.au, etc. [#5147 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Making time_zone_options_for_select return a html_safe stringMikel Lindsaar2010-08-152-1/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* object/try should be required after abstract_unit to have AS in the load pathSantiago Pastorino2010-08-141-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-1480-374/+374
| | | | 's/[ \t]*$//' -i {} \;)
* removing a lolinjectAaron Patterson2010-08-141-2/+2
|
* Moves local_request? to require.local?Santiago Pastorino2010-08-142-8/+8
| | | | [#5361 state:committed]
* It's snowing!Jeremy Kemper2010-08-143-3/+3
|
* in Rendering objects with RecordIdentifier example, locals should reference ↵Mark Hayes2010-08-121-1/+1
| | | | @account not @buyer
* Replace snowman with utf8=✓wycats2010-08-113-3/+3
|
* no need to assign if we are gonna returnXavier Noria2010-08-121-2/+2
|
* layout_for works again with objects as specified in the documentation and ↵José Valim & Carlos Antonio da Silva2010-08-114-4/+15
| | | | Rails 2.3 [#5357 state:resolved]
* rename _snowman to _ewycats2010-08-093-3/+3
|
* Improve best_standards_support to use only IE=Edge in development modewycats2010-08-091-2/+11
|
* adds missing requires for Object#tryXavier Noria2010-08-094-0/+4
|
* adds URL to the body generated by the redirect macro in the routes mapper as ↵Xavier Noria2010-08-092-31/+29
| | | | per the RFC, extracts common test pattern into a test macro, adds a test to cover the :status option
* Merge remote branch 'docrails/master'Xavier Noria2010-08-051-1/+1
|\
| * removed duplicate wordMark Hayes2010-08-031-1/+1
| |
* | Reload action_methods in AbstractController after defining new method.Piotr Sarnacki2010-08-042-0/+26
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Concernify SanitizeHelper and TextHelper so including TextHelper correctly ↵wycats2010-08-042-0/+4
| | | | | | | | include SanitizeHelper and extends its ClassMethods
* | Avoid potentially expensive inspect call in router. [#4491 state:resolved]Samuel Lebeau2010-08-031-3/+6
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use AS::OrderedHash when trusting in the order of the hashSantiago Pastorino2010-08-011-2/+3
|
* Fix label form helper to use I18n and html options, without the need of ↵Carlos Antonio da Silva2010-08-012-5/+13
| | | | | | | | | | | 'nil' text param: Before: f.label :title, nil, :class => 'title' After : f.label :title, :class => 'title' [#5267 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Makes form_helper use overriden model accessorsSantiago Pastorino2010-08-012-3/+20
| | | | [#3374 state:committed]
* API Docs: Use 'HTTP_AUTHORIZATION' and not :authorize as key in integration ↵Rohit Arondekar2010-07-301-1/+1
| | | | tests.
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-301-1/+1
|
* link_to_function now expects a piece of javascript code for the onclick ↵Rodrigo Dominguez2010-07-291-4/+5
| | | | | | | | parameter [#5179] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Revert "Avoid uneeded queries in session stores if sid is not given."José Valim2010-07-292-5/+3
| | | | | | First step to merge Rails and Rack session stores. Rack always expects to receive the SID since it may have different behavior if the SID is nil. This reverts commit e210895ba95e498b9debbf43a3e5ae588bca81f0.
* Forgot to check in this new filewycats2010-07-271-0/+13
|
* Add a header that tells Internet Explorer (all versions) to use the best ↵wycats2010-07-272-1/+3
| | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client.
* Spaces, people, spaces!David Heinemeier Hansson2010-07-261-0/+1
|
* Prep for RCDavid Heinemeier Hansson2010-07-262-2/+2
|
* doc: cleanup respond_to documentationWincent Colaiuta2010-07-261-9/+12
| | | | Signed-off-by: Wincent Colaiuta <win@wincent.com>
* Removed deprecated APIs in text and number helpers [#5156 state:resolved]Łukasz Strzałkowski2010-07-263-91/+5
| | | | | | They're deprecated since 2008. It's time to get rid of them. Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'docrails/master'Xavier Noria2010-07-262-106/+66
|\
| * update remote_function docs referencing link_to_remoteAndrew Kaspick2010-07-221-1/+1
| |
| * improve Action Pack READMEMislav Marohnić2010-07-221-95/+55
| | | | | | | | | | | | | | - revise introductory text - list modules contained in the package - improve examples - remove obsolete `scaffold` and `form` examples
| * revise download/installation/support sections in READMEsMislav Marohnić2010-07-221-10/+10
| | | | | | | | | | | | | | - don't reference ancient gem versions - don't link to old API doc subdomains - point to GitHub instead of RubyForge - point to Lighthouse account for support
* | Add assertion to link_to_function test with block and capture, and more ↵Carlos Antonio da Silva2010-07-251-5/+4
| | | | | | | | | | | | expressive test name [#5179 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Change returning with tapSantiago Pastorino2010-07-255-7/+6
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Fixed output_buffer encoding problem [#5179]Sebastian A. Espindola2010-07-252-1/+10
| | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com>
* | Merge branch 'master' of github.com:rails/railsJosé Valim2010-07-241-4/+4
|\ \
| * | update Rakefiles for RDoc 2.5Aaron Patterson2010-07-231-4/+4
| | |
* | | Clean up AM and AC railties.José Valim2010-07-242-33/+14
| | |
* | | Also move asset_path to AbstractController.José Valim2010-07-242-2/+1
| | |
* | | Move config_accessor :asset_host from ActionController::Base to ↵Jeroen van Dijk and Josh Kalderimis2010-07-242-2/+2
|/ / | | | | | | | | | | | | | | AbstractController which fixes issues with asset_host in ActionMailer Including: - Moved mailer objects in separate directory - Added two tests for asset_host configuration option
* | Makes Rakefile activate rdoc >= 2.5.9Santiago Pastorino2010-07-231-2/+2
| | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* | These tests are trusting in the order of the elements so use OrderedHash ↵Santiago Pastorino2010-07-211-13/+9
| | | | | | | | instead of Hash