aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
...
* | ensuring that json_escape returns html safe strings when passed an html safe ↵Aaron Patterson2011-06-091-0/+10
| | | | | | | | string
* | Make sure `escape_javascript` return `SafeBuffer` if the incoming argument ↵Prem Sichanugrist2011-06-091-0/+2
| | | | | | | | is already html_safe
* | Make escape_javascript happy to handle SafeBuffersPaul Gallagher2011-06-081-0/+7
|/ | | | | * see GH#1553 * allow for the fact that gsub on SafeBuffer does not pass match variables $1, $2 etc to a block
* remove warning: assigned but unused variableSantiago Pastorino2011-06-085-9/+6
|
* Added missing assert to test checking form with namespaced isolated model ↵Piotr Sarnacki2011-06-071-5/+5
| | | | and fixed helpers to work correctly in such case
* Allow multiple sources in Sprockets helpersGuillermo Iguaran2011-06-051-0/+6
|
* Fix typo in test.Andrés Botero2011-05-281-1/+1
|
* fixed asset_paths when called from sprockets for relative_url_rootjacott2011-05-281-0/+6
|
* removed deprecated methods, and related tests, from ActionPackJosh Kalderimis2011-05-242-25/+0
|
* Move the last pockets of Sprockets stuff into the Sprockets directorywycats2011-05-231-2/+1
|
* Move javascript/css helpers into the Sprockets helper and just have them ↵wycats2011-05-231-12/+12
| | | | override the old behavior
* 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
| |