aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
...
* Start moving some logic from being embedded in AV into the Rails Sprockets ↵wycats2011-05-231-0/+2
| | | | extensions
* Eliminate uninitialized instance variable warningwycats2011-05-221-2/+2
|
* Prepare the context in URLHelperTest so that there are no required ↵wycats2011-05-221-0/+2
| | | | uninitialized instance variables
* We don't need to load version any more as Sprockets.beta8 is included. Arun Agrawal2011-05-231-7/+0
|
* Merge branch '3-1-stable'Joshua Peek2011-05-221-2/+9
|\ | | | | | | | | | | Conflicts: actionpack/actionpack.gemspec activemodel/activemodel.gemspec
| * Add debug_asset supportJoshua Peek2011-05-221-2/+9
| |
* | Make sure that we're able to run Action Pack test standalone.Prem Sichanugrist2011-05-221-2/+7
| | | | | | | | | | | | | | | | Sprocket was trying to look for these two things: * `Rails::VERSION::STRING` * `.initializer(str)` in `Rails::Engine` This commit added require to version.rb into Abstract Unit, and mocking the `Rails::Engine.initializer` in `sprockets_helper_test.rb`
* | Add method fields_for_with_index to FormHelperJorge Bejar2011-05-211-0/+125
|/
* Example Usage updated for actionpack and actionmailer.Arun Agrawal2011-05-191-9/+9
|
* 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?`.