aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/active_model_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug creating invalid HTML in select optionsRusty Geldmacher2012-07-101-0/+14
| | | | | | When a select tag is created for a field with errors, then the inserted options will errantly have a <div class="field_with_errors"> wrapping them.
* Fixes issue #5222: DateTimeSelector builds invalid dates on leap day when ↵Jey Balachandran2012-03-181-2/+2
| | | | discarding both day and month.
* Fixes #5324 by removing default size options from input:text and default ↵Philip Arndt2012-03-101-3/+3
| | | | cols and rows options from textarea.
* Add a new line after the textarea opening tag.Rafael Mendonça França2012-02-271-1/+1
| | | | Closes #393
* add failing tests for issue #3487Vasiliy Ermolovich2011-12-191-1/+24
|
* Start cleanup of deprecations in ActionViewCarlos Antonio da Silva2010-09-061-8/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Do not wrap hidden fields with error proc [#4962 state:resolved]Carlos Antonio da Silva2010-06-251-0/+7
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Rename fieldWithErrors style to field_with_errors. Remove unused alert style.Jeremy Kemper2010-04-241-4/+4
|
* Remove input, form, error_messages_for and error_message_on from the ↵José Valim2010-04-101-284/+12
| | | | framework. If you think you will miss them, feel free to use the dynamic_form plugin available at http://github.com/rails/dynamic_form
* Refactored url_for in AV to have its own instances of the helpers instead of ↵wycats2010-04-031-5/+4
| | | | proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
* html_tag option to wrap error_message_on text [#4283 state:resolved]Paco Guzman2010-03-281-0/+4
| | | Signed-off-by: wycats <wycats@gmail.com>
* Fixes a bug where error_messages_for was returning an empty div [#4048 ↵wycats2010-03-271-0/+4
| | | | state:resolved] (ht: Geoff Garside)
* Recovers error_messages for ActiveRecordInstanceTag. [#4078 state:resolved]Daniel Rodríguez Troitiño2010-03-271-0/+14
| | | Signed-off-by: wycats <wycats@gmail.com>
* Require persisted? in ActiveModel::Lint and remove new_record? and ↵José Valim2010-02-211-2/+2
| | | | destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
* Bring agnosticism to error_messages_for.José Valim2009-10-171-0/+314