aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* Refactor fields_for to make the api more clear, and fix usage with non ↵Carlos Antonio da Silva2011-05-141-0/+14
| | | | nested attributes and without object
* Add tests for content_for() for read, closes #475.José Valim2011-05-101-4/+12
|
* Optimize the most common resolver case.José Valim2011-05-091-1/+1
|
* Merge pull request #420 from burke/masterJosé Valim2011-05-081-0/+9
|\ | | | | Accept single prefix in ActionView::MissingTemplate#initialize
| * Added a test for MissingTemplate change, and changed to use Array.wrap() asBurke Libbey2011-05-061-0/+9
| | | | | | | | requested by josevalim.
* | Always expand */*José Valim2011-05-071-1/+1
| |
* | Fixes ticket #6379. Improved the handling of Accept headers containing */*.mathieuravaux2011-05-071-0/+5
| | | | | | | | | | | | | | `lookup_context#formats=` being too restrictive, "Accept: text/javascript, */*" resulted in [:js, "*/*"] formats instead of [:js, :html]. Signed-off-by: José Valim <jose.valim@gmail.com>
* | Merge pull request #343 from asanghi/ampmJosé Valim2011-05-071-0/+55
|\ \ | | | | | | Allow AM/PM format in datetime selectors
| * | Allow AM/PM in datetime selectorsAditya Sanghi2011-04-291-0/+55
| | |
* | | Merge pull request #280 from jballanc/frozen-string-strip-tagsJosé Valim2011-05-071-0/+1
|\ \ \ | |_|/ |/| | Stripping tags from a frozen string
| * | Test for stripping tags from a frozen string.Joshua Ballanco2011-04-141-0/+1
| | | | | | | | | | | | | | | | | | This test will pass under Ruby 1.8 but fail under Ruby 1.9 because of the change in behavior of gsub! w.r.t. frozen strings that do not match the pattern used [ruby-core:23664].
* | | Take leap years into account more seriously when calculating year distance ↵Aditya Sanghi2011-05-061-0/+4
| | | | | | | | | | | | [#6074 state:resolved]
* | | Move prefixes to view paths as they are now a lookup context dependency.José Valim2011-05-041-0/+4
| | |
* | | fixed test to assert initialization value.Nick Sutterer2011-05-041-1/+1
| | |
* | | added :prefixes accessor to LookupContext.Nick Sutterer2011-05-031-0/+6
| | |
* | | fix select_tag to have the same behavior of selectDaniel Lopes2011-05-031-2/+8
| | |
* | | removing auto_link and moving it to the rails_autolink gem. :bomb:Aaron Patterson2011-05-021-254/+0
| | |
* | | log errors when an exception happens when streaming.José Valim2011-05-011-2/+6
| | |
* | | More cleanup and moving responsibilities around.José Valim2011-05-011-5/+5
| | |
* | | Remove more dependencies from the view.José Valim2011-05-011-4/+3
| | |
* | | Remove dependency from _template.José Valim2011-05-012-7/+5
| |/ |/|
* | 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!