aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* Merged pull request #327 from dcrec1/master.José Valim2011-04-281-0/+11
|\ | | | | Prefix option for number_to_human_size
| * added a :prefix option to number_to_human_sizeDiego Carrion2011-04-271-0/+11
| |
* | Allow a label with the value option to have value-specific translations.Jason Garber2011-04-271-1/+11
|/
* asset helpers should understand scheme-relative URLsChad Krsek2011-04-261-0/+15
|
* Revert "asset helpers should understand scheme-relative URLs"Chad Krsek2011-04-251-15/+0
| | | | This reverts commit 057412ce38ead06307a887dca333837a99f84f22.
* asset helpers should understand scheme-relative URLsChad Krsek2011-04-251-0/+15
|
* added test for number_to_phone with an empty string and area code trueDiego Carrion2011-04-251-0/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Replace example hostname with "example.com".Joost Baaij2011-04-211-12/+12
| | | | | The hostname used in these comments actually exists, which is undesirable. See also RFC 2606.
* Let's use inheritance here, shall we?José Valim2011-04-191-0/+8
|
* Switch to asset_path and make it available in the Sprockets::Context (now ↵David Heinemeier Hansson2011-04-191-22/+18
| | | | you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
* All assets, including images, audio, and video, now uses the asset pipeline ↵David Heinemeier Hansson2011-04-191-0/+19
| | | | when its on
* content_for should work with provide.José Valim2011-04-162-6/+17
|
* Add more tests, ensure we never yield outside the fiber context and that we ↵José Valim2011-04-161-0/+8
| | | | swap buffers when moving from parent to child.
* Basic tests for streaming. Basic tests for provide.José Valim2011-04-162-2/+69
|
* The magic medicine worked.José Valim2011-04-161-7/+13
|
* Yo dawg, I heard you like streaming. So I put a fiber, inside a block, ↵José Valim2011-04-161-1/+1
| | | | inside a body, so you can stream.
* Buffer should be an option passed down to template rendering.José Valim2011-04-163-72/+0
|
* Initial work on fibered layout.José Valim2011-04-162-1/+28
|
* Make static faster as we don't have to serve multiple paths anymore.José Valim2011-04-151-23/+0
|
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-133-3/+3
| | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* fixes the name of a testXavier Noria2011-04-131-1/+1
|
* removes render :update from viewsXavier Noria2011-04-131-4/+0
|
* removes ActionView::Helpers::PrototypeHelperXavier Noria2011-04-131-476/+0
|
* removes ActionView::Helpers::ScriptaculousHelperXavier Noria2011-04-131-86/+0
|
* removes support for RJS in button_to_functionXavier Noria2011-04-131-14/+0
|
* removes support for RJS in link_to_functionXavier Noria2011-04-131-24/+1
|
* Fixing distance_of_time_in_words range near 2 daysMatt Duncan2011-04-131-3/+3
|
* Merge branch 'master' into sprocketsJoshua Peek2011-04-125-9/+19
|\
| * Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-123-3/+3
| | | | | | | | suggestion!
| * Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-114-4/+8
| | | | | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
| * do not return html safe strings from auto_linkAaron Patterson2011-04-051-5/+11
| |
* | Merge branch 'master' into sprocketsJoshua Peek2011-03-303-4/+22
|\| | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb
| * Remove 'warning: ambiguous first argument' when running ActionPack testsSebastian Martinez2011-03-291-2/+2
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Fix alias_method, add testDavid Heinemeier Hansson2011-03-271-0/+1
| |
| * Allow FormHelper#form_for to specify the :method as a direct option instead ↵David Heinemeier Hansson2011-03-261-2/+19
| | | | | | | | of through the :html hash [DHH]
* | Seperate asset directoriesJoshua Peek2011-03-291-15/+18
| |
* | Tests for SprocketsHelperJoshua Peek2011-03-291-0/+93
|/
* SJIS is an alias to Windows-31J in ruby trunk. Use SHIFT_JIS for this testAaron Patterson2011-03-211-2/+2
|
* [action_view] added custom patterns to template resolverChris Kowalik2011-03-201-0/+31
|
* fixes an issue with number_to_human when converting values which are less ↵Josh Kalderimis2011-03-161-1/+3
| | | | | | than 1 but greater than -1 [#6576 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* added failing test for fields_for with a record object that inherits from HashDiego Carrion2011-03-061-0/+19
| | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Action Pack typos.R.T. Lechow2011-03-051-1/+1
|
* Add an option to FormBuilder to omit hidden field with idAlexander Uvarov2011-03-041-0/+135
| | | | | | [#4551 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* use a subclass of AS::TZ for testing html outputAaron Patterson2011-02-281-4/+11
|
* updated Time, Date and DateTime current methods in AS to use Time.zone and ↵Josh Kalderimis2011-02-281-2/+2
| | | | | | not Time.zone_default. [#6410 state:committed]
* javascript_include_tag shouldn't raise if you register an expansion key with ↵Santiago Pastorino2011-02-281-2/+10
| | | | nil value
* Add tests for register expansion methods with key = []Santiago Pastorino2011-02-281-2/+12
|
* Allow for the format of time_tag in AP to be changed via an option argument.Josh Kalderimis2011-02-121-5/+11
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Added time_tag helper to AP for HTML5 time tag [#5919 state:resolved]Sjoerd Andringa2011-02-121-1/+21
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Applied changes to stylesheet_link_tag from javascript_include_tag which ↵Josh Kalderimis2011-02-131-0/+23
| | | | corrects issues with ordering and duplicates.