Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use correct in description | Ray Baxter | 2011-07-17 | 1 | -1/+1 |
| | |||||
* | Don't require ActionView::Context as it's autoloaded | Andrew White | 2011-07-01 | 1 | -1/+0 |
| | |||||
* | Add missing requires for ActionView::Context and Module#instance_method_names | Andrew White | 2011-07-01 | 1 | -0/+2 |
| | |||||
* | Revert "Add method fields_for_with_index to FormHelper" | José Valim | 2011-07-01 | 1 | -18/+6 |
| | | | | | | | | This reverts commit 7c562d5e460d97b18e4f3367b3cfb13401732920. Conflicts: actionpack/lib/action_view/helpers/form_helper.rb | ||||
* | Fixed ActionView::FormOptionsHelper#select with :multiple => false | Bogdan Gusiev | 2011-06-30 | 1 | -1/+1 |
| | |||||
* | Test for extractable_options? within nested fields_for. | Sam Pohlenz | 2011-06-20 | 1 | -1/+1 |
| | | | | | This fixes an error when a record object that is a subclass of Hash is passed to fields_for, which is incorrectly interpreted as field options. | ||||
* | Typo. | R.T. Lechow | 2011-06-16 | 1 | -2/+2 |
| | |||||
* | form => form_for | Vijay Dev | 2011-06-15 | 1 | -1/+1 |
| | |||||
* | Clarify importance of *_attributes= writer methods for nested fields | Christine Yen | 2011-06-15 | 1 | -8/+12 |
| | |||||
* | The example in the API docs incorrectly indicated that form_for would use ↵ | Mark Roghelia | 2011-05-31 | 1 | -2/+2 |
| | | | | the same default route for both new and previously persisted records. The default path given in the example would have generated a routing error for new records. form_for actually uses polymorphic_path to determine which route to use based on the state of the record. The example has been updated to reflect the method's actual behavior. | ||||
* | Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHub | José Valim | 2011-05-22 | 1 | -0/+1 |
| | |||||
* | Add method fields_for_with_index to FormHelper | Jorge Bejar | 2011-05-21 | 1 | -0/+19 |
| | |||||
* | Use record_name to make fields for methods more consistent | Carlos Antonio da Silva | 2011-05-14 | 1 | -6/+6 |
| | |||||
* | Refactor fields_for to make the api more clear, and fix usage with non ↵ | Carlos Antonio da Silva | 2011-05-14 | 1 | -26/+19 |
| | | | | nested attributes and without object | ||||
* | Cleanup instantiate builder method definition | Carlos Antonio da Silva | 2011-05-14 | 1 | -5/+2 |
| | |||||
* | Remove dependency from _template. | José Valim | 2011-05-01 | 1 | -1/+1 |
| | |||||
* | Start abstracting the renderer. | José Valim | 2011-05-01 | 1 | -0/+5 |
| | |||||
* | Allow a label with the value option to have value-specific translations. | Jason Garber | 2011-04-27 | 1 | -1/+2 |
| | |||||
* | attribute should be attributes | José Valim | 2011-04-14 | 1 | -1/+1 |
| | |||||
* | Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHub | José Valim | 2011-04-14 | 1 | -2/+3 |
| | |||||
* | Allow FormHelper#form_for to specify the :method as a direct option instead ↵ | David Heinemeier Hansson | 2011-03-26 | 1 | -2/+13 |
| | | | | of through the :html hash [DHH] | ||||
* | fix typos | Akira Matsuda | 2011-03-07 | 1 | -2/+2 |
| | |||||
* | Allow model to be inherited from Hash [#6487 state:resolved] | Alexander Uvarov | 2011-03-06 | 1 | -3/+4 |
| | | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | ||||
* | Add an option to FormBuilder to omit hidden field with id | Alexander Uvarov | 2011-03-04 | 1 | -2/+22 |
| | | | | | | [#4551 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | fields_for with inline blocks and nested attributes already persisted does ↵ | Santiago Pastorino | 2011-02-08 | 1 | -10/+7 |
| | | | | | | not render properly [#6381 state:committed] | ||||
* | put authenticity_token option in parity w/ remote | Dan Pickett | 2011-02-06 | 1 | -4/+5 |
| | | | | | | [#6228 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Added tests for form_for and an authenticity_token option. Added docs for ↵ | Timothy N. Tsvetkov | 2011-02-05 | 1 | -0/+18 |
| | | | | | | | | for_for and authenticity_token option. Added section to form helpers guide about forms for external resources and new authenticity_token option for form_tag and form_for helpers. [#6228 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | removing generation of id in submit helper | Franco Brusatti | 2011-02-03 | 1 | -1/+1 |
| | | | | | | [#6369 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove InstanceTagMethods module and define the methods inside the ↵ | Santiago Pastorino | 2011-01-09 | 1 | -7/+2 |
| | | | | InstanceTag class | ||||
* | Remove nodoc from FormBuilder because the methods inside are public API methods | Ryan Bigg | 2010-12-13 | 1 | -1/+1 |
| | |||||
* | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 1 | -2/+2 |
| | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Revert "Remove deprecated form_for with strings or symbols" | José Valim | 2010-11-18 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | | This code was not deprecated. What was deprecated is the following: form_for(:foo, @foo) Which now should be rewritten as: form_for(@foo, :as => :foo) The following format is valid: form_for(:foo) This reverts commit be797750e6ce866ea08307f63bf35304a965c8d4. | ||||
* | Remove deprecated form_for with strings or symbols | Leonardo Capillera | 2010-11-18 | 1 | -9/+3 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add f.submit to forms just to show the most common use case | Santiago Pastorino | 2010-11-14 | 1 | -0/+12 |
| | |||||
* | Merge branch 'spastorino-master' | Santiago Pastorino | 2010-11-14 | 1 | -2/+2 |
|\ | |||||
| * | This doesn't make sense here | Santiago Pastorino | 2010-11-14 | 1 | -2/+2 |
| | | |||||
* | | Add empty line between previous method and RDoc of submit to allow RDoc ↵ | Santiago Pastorino | 2010-11-14 | 1 | -0/+1 |
|/ | | | | appear on api.rubyonrails.org | ||||
* | fields_for should treat ActiveRecord::Relation as an array | Neeraj Singh | 2010-11-11 | 1 | -2/+2 |
| | | | | | | [#5795 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Just initialize options with an empty hash | Santiago Pastorino | 2010-11-03 | 1 | -2/+1 |
| | |||||
* | Call html_escape in ERB::Util module and don't mix it in in the helpers | Santiago Pastorino | 2010-10-18 | 1 | -2/+3 |
| | |||||
* | Revert "Make InstanceTagMethods#value_before_type_cast raise if the model ↵ | Santiago Pastorino | 2010-10-10 | 1 | -8/+3 |
| | | | | | | | | don't respond to attr_before_type_cast or attr method" And "Makes form_helper use overriden model accessors" This reverts commit 3ba8e3100548f10fce0c9784981a4589531476dd and fb0bd8c1092db51888ec4bb72af6c595e13c31fa. | ||||
* | Fixing search_field to remove object attribute from options hash [#5730 ↵ | Aditya Sanghi | 2010-10-02 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | tag value can be false, so nil? check is necessary | Aaron Patterson | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | no need to check for nil? | Neeraj Singh | 2010-09-30 | 1 | -2/+2 |
| | |||||
* | Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵ | José Valim | 2010-09-29 | 1 | -14/+17 |
| | | | | everyone calls super as expected. | ||||
* | Ask if the instance variable is defined before asking for it, avoid *many* ↵ | Emilio Tagua | 2010-09-28 | 1 | -1/+5 |
| | | | | warnings. | ||||
* | Define @emitted_hidden_id if it doesn't exists and reuse it if it does. | Emilio Tagua | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | We don't need to check if the format exists to generate the url, it already ↵ | Carlos Antonio da Silva | 2010-09-26 | 1 | -8/+7 |
| | | | | does it internally | ||||
* | More cleanup on form helpers | Carlos Antonio da Silva | 2010-09-26 | 1 | -11/+12 |
| | |||||
* | Remove last tests with deprecated form_for and cleanup form_for helper | Carlos Antonio da Silva | 2010-09-26 | 1 | -4/+2 |
| | | | | | | | This cleans up the last bits of deprecation stuff from form_for helper. However there is still a bug when using :as => foo[], with index. The classes and ids are being generated using [], such as foo[]_edit. This bug already existed but it was not detected before. |