Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix templates reloading in development when using custom view path [#2012 ↵ | Joshua Peek | 2009-02-19 | 1 | -25/+103 |
| | | | | state:resolved] | ||||
* | Enhanced form option helpers to add support for disabled option tags and use ↵ | Tekin Suleyman | 2009-02-14 | 1 | -0/+84 |
| | | | | | | of anonymous functions for specifying selected and disabled values from collections. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | DRY up form option helper tests | Tekin Suleyman | 2009-02-14 | 1 | -78/+19 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Stops date select helpers from defaulting the selected date to today if ↵ | Sam Oliver | 2009-02-13 | 1 | -14/+14 |
| | | | | | | | :prompt option has been used Signed-off-by: Michael Koziarski <michael@koziarski.com> [#561 state:resolved] | ||||
* | Changed API of NestedAttributes to take an array, or hash with index keys, ↵ | Lance Ivy | 2009-02-13 | 1 | -8/+30 |
| | | | | | | | | of hashes that have the id on the inside of the attributes hash and updated the FormBuilder to produce such hashes. Also fixed NestedAttributes with composite ids. Signed-off-by: Michael Koziarski <michael@koziarski.com> Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> [#1892 state:committed] | ||||
* | Port fast reloadable templates from rails-dev-boost. | thedarkone | 2009-02-12 | 2 | -19/+54 |
| | |||||
* | Move checkbox hidden field before the actual checkbox so the actual value ↵ | Joshua Peek | 2009-02-10 | 1 | -38/+34 |
| | | | | doesn't get clobbered [#1863 state:resolved] | ||||
* | Fix some edge cases when the same template is called with different local ↵ | Andrew White | 2009-02-10 | 1 | -32/+54 |
| | | | | | | assigns Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Added partial scoping to TranslationHelper#translate, so if you call ↵ | David Heinemeier Hansson | 2009-02-10 | 1 | -0/+6 |
| | | | | translate('.foo') from the people/index.html.erb template, you'll actually be calling I18n.translate(people.index.foo) [DHH] | ||||
* | Improve view rendering performance in development mode and reinstate ↵ | Andrew White | 2009-02-09 | 2 | -33/+24 |
| | | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Render implicit html template when xhr request now supports localization ↵ | José Valim | 2009-02-07 | 1 | -0/+19 |
| | | | | | | [#1886 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Added support to dashed locales in templates localization [#1888 state:resolved] | José Valim | 2009-02-06 | 1 | -0/+9 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ruby 1.9 compat: change encoding of action_view/renderable to utf-8, so erb ↵ | Eugene Pimenov | 2009-02-06 | 1 | -0/+9 |
| | | | | | | | | templates can use utf-8 properly [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Allowing an object to be passed explicitly to a fields_for with ↵ | Pascal Ehlert | 2009-02-06 | 1 | -0/+9 |
| | | | | | | | nested_attributes on one-to-one associations Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1849 state:committed] | ||||
* | Added tests from Andrew Whites fix [#1385 state:committed] | David Heinemeier Hansson | 2009-02-05 | 1 | -0/+21 |
| | |||||
* | Fix a syntax error in current_page?() that was prevent matches against URL's ↵ | chris finne | 2009-02-05 | 1 | -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 Kemper | 2009-02-03 | 9 | -919/+899 |
| | |||||
* | Add support for nested object forms to ActiveRecord and the helpers in ↵ | Eloy Duran | 2009-02-01 | 1 | -5/+136 |
| | | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed] | ||||
* | Fix unsorted array comparison | Jeremy Kemper | 2009-01-31 | 1 | -1/+1 |
| | |||||
* | Added grouped_options_for_select helper method for wrapping option tags in ↵ | Jon Crawford | 2009-01-29 | 1 | -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 Weinand | 2009-01-28 | 1 | -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ño | 2009-01-28 | 1 | -0/+16 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improve i18n support for number_to_human_size helper: | Yaroslav Markin | 2009-01-27 | 1 | -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 templates | Joshua Peek | 2009-01-25 | 1 | -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] ↵ | Josh | 2009-01-16 | 1 | -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 problems | Joshua Peek | 2009-01-02 | 1 | -2/+0 |
| | |||||
* | Added :silence option to BenchmarkHelper#benchmark and turned log_level into ↵ | David Heinemeier Hansson | 2009-01-01 | 1 | -24/+50 |
| | | | | a hash parameter and deprecated the old use [DHH] | ||||
* | Merge branch 'master' of git@github.com:rails/rails | David Heinemeier Hansson | 2009-01-01 | 2 | -7/+9 |
|\ | |||||
| * | Clean up view path cruft and split path implementations into Template::Path ↵ | Joshua Peek | 2008-12-29 | 2 | -7/+9 |
| | | | | | | | | and Template::EagerPath | ||||
* | | Fixed the AssetTagHelper cache to use the computed asset host as part of the ↵ | David Heinemeier Hansson | 2009-01-01 | 1 | -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 Oliver | 2008-12-22 | 1 | -0/+11 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Added prompt options to date helpers [#561 state:resolved] | Sam Oliver | 2008-12-21 | 1 | -0/+321 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix duplicate test name [#1058 state:resolved] [Dave Rothlisberger, Pratik Naik] | Pratik Naik | 2008-12-20 | 1 | -1/+1 |
| | |||||
* | Set template_format to html inside rjs templates so renders within it ↵ | Joshua Peek | 2008-12-04 | 1 | -6/+0 |
| | | | | default to html. | ||||
* | allow options to be passed to email address auto generation | Andrew Kaspick | 2008-12-01 | 1 | -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 Peek | 2008-11-28 | 2 | -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 Peek | 2008-11-28 | 2 | -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 Hansson | 2008-11-27 | 2 | -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/rails | David Heinemeier Hansson | 2008-11-27 | 2 | -11/+15 |
|\ | |||||
| * | Super lazy load view paths in development mode (no indexing or caching at ↵ | Joshua Peek | 2008-11-26 | 2 | -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 Hansson | 2008-11-27 | 1 | -0/+40 |
|/ | | | | (see http://github.com/dhh/asset-hosting-with-minimum-ssl for an example) [DHH] | ||||
* | Fix dangling tzinfo dependency | Jeremy Kemper | 2008-11-23 | 1 | -1/+2 |
| | |||||
* | Add i18n for number_to_human_size() helper storage units. Translation key is ↵ | Yaroslav Markin | 2008-11-23 | 1 | -0/+3 |
| | | | | | | | | number.human.storage_units. [#1448 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | A back support for legacy TemplateHandler#render API | Joshua Peek | 2008-11-23 | 1 | -0/+11 |
| | |||||
* | need to make sure the asset type is cached with it in Cache.. name is ↵ | Aaron Batalion | 2008-11-19 | 1 | -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 Hansson | 2008-11-19 | 2 | -14/+22 |
| | | | | when not given an options hash [DHH] | ||||
* | Register 'checked' as an HTML boolean attribute. | Hongli Lai (Phusion) | 2008-11-18 | 1 | -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 Fuchs | 2008-11-18 | 4 | -41/+41 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Merge branch 'master' into testing | Jeremy Kemper | 2008-11-15 | 3 | -51/+100 |
|\ | |||||
| * | auto_link helper: add intelligent ending closing bracket handling. add new ↵ | Mislav Marohnić | 2008-11-15 | 1 | -47/+81 |
| | | | | | | | | | | | | | | tests and reorder new ones for readability Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1353 state:committed] |