aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix a syntax error in current_page?() that was prevent matches against URL's ↵chris finne2009-02-051-1/+13
| | | | | | | | | | | | with multiple query parameters [#1868 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-039-919/+899
| |
| * Add support for nested object forms to ActiveRecord and the helpers in ↵Eloy Duran2009-02-011-5/+136
| | | | | | | | | | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
| * Fix unsorted array comparisonJeremy Kemper2009-01-311-1/+1
| |
* | Temporarily modifies setup to call super directly. This can support more ↵Yehuda Katz and Carl Lerche2009-04-0813-0/+17
| | | | | | | | T::U runners.
* | Add support for pendingYehuda Katz2009-02-021-7/+11
| |
* | Merge commit 'rails/3-0-unstable'Yehuda Katz2009-01-303-3/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/base.rb actionpack/lib/action_dispatch/http/mime_type.rb actionpack/lib/action_dispatch/http/request.rb actionpack/lib/action_view/base.rb actionpack/lib/action_view/paths.rb actionpack/test/controller/session/cookie_store_test.rb actionpack/test/dispatch/rack_test.rb actionpack/test/dispatch/request_test.rb
| * Begin unifying the interface between ActionController and ActionViewYehuda Katz2009-01-223-3/+3
| |
* | Added grouped_options_for_select helper method for wrapping option tags in ↵Jon Crawford2009-01-291-0/+26
| | | | | | | | | | | | optgroups. [#977 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Using the highlight helper on text with html shouldn't highlight text inside ↵Dan Weinand2009-01-281-0/+23
| | | | | | | | | | | | html attributes. [#1302 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Ensure selected option is not ignored for collection_select. [#1037 ↵Daniel Rodríguez Troitiño2009-01-281-0/+16
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Improve i18n support for number_to_human_size helper:Yaroslav Markin2009-01-271-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | * now using pluralization properly * storage unit translations moved to number.human.storage_units.units * introduced number.human.storage_units.format for languages that do not follow "{{number}} {{unit}}" format (Japanese) NOTE: I18n table changed, you will need to update your translations. [#1634 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Add localized templatesJoshua Peek2009-01-251-0/+15
|/ | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* Fix date_select within fields_for with an index [#1666 state:resolved] ↵Josh2009-01-161-15/+80
| | | | | | [Josh, Frederick Cheung] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Revert to the good old days when AssetTag didn't cause anyone problemsJoshua Peek2009-01-021-2/+0
|
* Added :silence option to BenchmarkHelper#benchmark and turned log_level into ↵David Heinemeier Hansson2009-01-011-24/+50
| | | | a hash parameter and deprecated the old use [DHH]
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2009-01-012-7/+9
|\
| * Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-292-7/+9
| | | | | | | | and Template::EagerPath
* | Fixed the AssetTagHelper cache to use the computed asset host as part of the ↵David Heinemeier Hansson2009-01-011-0/+20
|/ | | | cache key instead of just assuming the its a string [#1299 state:committed]
* Use I18n for date/time select helpers prompt text [#561 state:resolved]Sam Oliver2008-12-221-0/+11
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added prompt options to date helpers [#561 state:resolved]Sam Oliver2008-12-211-0/+321
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix duplicate test name [#1058 state:resolved] [Dave Rothlisberger, Pratik Naik]Pratik Naik2008-12-201-1/+1
|
* Set template_format to html inside rjs templates so renders within it ↵Joshua Peek2008-12-041-6/+0
| | | | default to html.
* allow options to be passed to email address auto generationAndrew Kaspick2008-12-011-1/+6
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1418 state:committed]
* fixed template recompile issue with previous commit and add some better ↵Joshua Peek2008-11-282-9/+67
| | | | tests so we can make sure it doesn't happen again
* Reinstate "Super lazy load view paths in development mode (no indexing or ↵Joshua Peek2008-11-282-11/+15
| | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading."
* Revert "Super lazy load view paths in development mode (no indexing or ↵David Heinemeier Hansson2008-11-272-15/+11
| | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db.
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-11-272-11/+15
|\
| * Super lazy load view paths in development mode (no indexing or caching at ↵Joshua Peek2008-11-262-11/+15
| | | | | | | | all). Switch layout finders to use view path api to take advantage of cache.
* | Added the option to declare an asset_host as an object that responds to call ↵David Heinemeier Hansson2008-11-271-0/+40
|/ | | | (see http://github.com/dhh/asset-hosting-with-minimum-ssl for an example) [DHH]
* Fix dangling tzinfo dependencyJeremy Kemper2008-11-231-1/+2
|
* Add i18n for number_to_human_size() helper storage units. Translation key is ↵Yaroslav Markin2008-11-231-0/+3
| | | | | | | | number.human.storage_units. [#1448 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* A back support for legacy TemplateHandler#render APIJoshua Peek2008-11-231-0/+11
|
* need to make sure the asset type is cached with it in Cache.. name is ↵Aaron Batalion2008-11-191-0/+6
| | | | | | sufficient, not self Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Changed the default of ActionView#render to assume partials instead of files ↵David Heinemeier Hansson2008-11-192-14/+22
| | | | when not given an options hash [DHH]
* Register 'checked' as an HTML boolean attribute.Hongli Lai (Phusion)2008-11-181-0/+1
| | | | | | | | | | | | | | | This way, 'tag :foo, :type => "checkbox", :checked => false' would output the expected <input type="checkbox" /> instead of the old <input type="checkbox" checked="false" /> The latter would result in a checkbox that's initially checked. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-184-41/+41
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Merge branch 'master' into testingJeremy Kemper2008-11-153-51/+100
|\
| * auto_link helper: add intelligent ending closing bracket handling. add new ↵Mislav Marohnić2008-11-151-47/+81
| | | | | | | | | | | | | | tests and reorder new ones for readability Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1353 state:committed]
| * refactor autolink helper. change tests to expect HTML-escaped URLsMislav Marohnić2008-11-151-13/+24
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Tag helper should output an attribute with the value 'false' instead of ↵Hongli Lai (Phusion)2008-11-132-1/+5
| | | | | | | | omitting the attribute, if the associated option is false but not nil.
| * Don't worry about attribute orderingJeremy Kemper2008-11-071-1/+2
| |
| * Use delete if the rhs is nilJeremy Kemper2008-11-071-1/+5
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-071-0/+1
|\|
| * auto_link view helper was failing on URLs with colons after a query paramRich Manalang2008-11-071-0/+1
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1341 state:committed]
* | Don't worry about attribute orderingJeremy Kemper2008-11-071-1/+2
| |
* | Use delete if the rhs is nilJeremy Kemper2008-11-071-1/+5
| |
* | Move controller assertions from base TestCase to AC:: and AV::TestCaseJeremy Kemper2008-11-071-5/+3
|/
* Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵Vladimir Dobriakov2008-11-041-1/+34
| | | | | | brackets [#1238 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix regression bug that made date_select and datetime_select raise a Null ↵Bernardo de Pádua2008-11-041-0/+40
| | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>