Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow proc for value/text method in collection_select | Carlos Antonio da Silva | 2012-02-02 | 3 | -16/+48 |
| | | | | | | And options_from_collection_for_select as well. [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Move collection radio buttons / check boxes back to FormOptionsHelper | Carlos Antonio da Silva | 2012-02-02 | 4 | -92/+81 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Extract common collection helpers to a module to avoid too much inheritance | Carlos Antonio da Silva | 2012-02-02 | 3 | -69/+93 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Create a Builder factory class to use with collection helpers + block | Carlos Antonio da Silva | 2012-02-02 | 3 | -21/+45 |
| | | | | | | | | This will make it easy for the user to handle how check box/radio and labels should be generated, abstracting any text/value/default html options required to make it work. [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Refactor collection helpers to extract radio/checkbox/label calls | Carlos Antonio da Silva | 2012-02-02 | 2 | -8/+18 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Remove collection_wrapper* and item_wrapper* options | Carlos Antonio da Silva | 2012-02-02 | 4 | -218/+15 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Refactor value sanitization logic | Carlos Antonio da Silva | 2012-02-02 | 2 | -8/+16 |
| | | | | | | | | | | * Extract value sanitization from default name and id method and new collection helpers; * No need to sanitize value in default name and id always; * Improve value_before_type_cast to avoid concating the same method name string twice. [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Cleanup options helper methods a bit | Carlos Antonio da Silva | 2012-02-02 | 1 | -12/+12 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Refactor option groups to use content_tag | Carlos Antonio da Silva | 2012-02-02 | 1 | -4/+4 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Add basic documentation to collection_check_boxes and | Rafael Mendonça França | 2012-02-02 | 1 | -0/+71 |
| | | | | | | collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Use @output_buffer variable instead of concat in tests | Carlos Antonio da Silva | 2012-02-02 | 1 | -10/+9 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Implement skipped test | Rafael Mendonça França | 2012-02-02 | 1 | -3/+5 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Add collection_radio_buttons and collection_check_boxes to FormBuilder | Rafael Mendonça França | 2012-02-02 | 2 | -9/+30 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Refactor the methods to use instance variables | Rafael Mendonça França | 2012-02-02 | 3 | -22/+26 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Change Tag class to Category since there is another Tag class | Rafael Mendonça França | 2012-02-02 | 1 | -33/+33 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Refactor render_collection method | Rafael Mendonça França | 2012-02-02 | 2 | -13/+9 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Move collection_check_boxes and collection_radio_buttons to they our | Rafael Mendonça França | 2012-02-02 | 3 | -8/+15 |
| | | | | | | module [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Add collection_check_boxes helper | Carlos Antonio da Silva | 2012-02-02 | 4 | -1/+262 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Create collection_radio_buttons helper | Carlos Antonio da Silva | 2012-02-02 | 4 | -15/+279 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Merge pull request #4849 from carlosantoniodasilva/checkbox-hidden-form | José Valim | 2012-02-02 | 3 | -4/+18 |
|\ | | | | | Replicate :form html5 attribute to hidden field for check_box | ||||
| * | Replicate :form html5 attribute to hidden field for check_box | Carlos Antonio da Silva | 2012-02-02 | 3 | -4/+18 |
|/ | | | | | When the new html5 attribute :form is given to the check_box helper, it should be replicated to the hidden field as well. Closes #4848 | ||||
* | Merge pull request #3892 from arunagw/verbose_rake_test | José Valim | 2012-02-02 | 3 | -3/+0 |
|\ | | | | | No Verbose the output for test. | ||||
| * | No verbose the output for tests. | Arun Agrawal | 2012-02-01 | 3 | -3/+0 |
| | | |||||
* | | Merge pull request #4842 from jamesarosen/master | José Valim | 2012-02-01 | 1 | -8/+5 |
|\ \ | | | | | | | Update documentation for register_template_handler | ||||
| * | | updating documentation for register_template_handler | James A. Rosen | 2012-02-01 | 1 | -8/+5 |
| | | | |||||
* | | | use the class method to (un)escape binary values | Aaron Patterson | 2012-02-01 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #4543 from jdelStrother/find_or_init | Jon Leighton | 2012-02-01 | 2 | -2/+13 |
|\ \ | | | | | | | Don't instantiate two objects in collection proxy / find_or_instantiate_by | ||||
| * | | Don't instantiate two objects in collection proxy / find_or_instantiator_by | Jonathan del Strother | 2012-01-19 | 2 | -2/+13 |
| | | | |||||
* | | | Merge pull request #4832 from guilleiguaran/https-gemfile | José Valim | 2012-02-01 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Use https://rubygems.org source for default Gemfile | ||||
| * | | | Use https://rubygems.org source for default Gemfile | Guillermo Iguaran | 2012-02-01 | 1 | -1/+1 |
|/ / / | | | | | | | | | | See https://github.com/rails/rails/pull/4684#commitcomment-920313 | ||||
* | | | Merge pull request #4830 from rafaelfranca/restrict-fix | Aaron Patterson | 2012-02-01 | 2 | -3/+3 |
|\ \ \ | | | | | | | | | Fix typo | ||||
| * | | | Fix typo | Rafael Mendonça França | 2012-02-01 | 2 | -3/+3 |
|/ / / | |||||
* | | | Merge pull request #4829 from rafaelfranca/restrict-fix | Aaron Patterson | 2012-02-01 | 5 | -5/+29 |
|\ \ \ | | | | | | | | | Use human attribute name to show the dependent destroy message | ||||
| * | | | Remove the dependent_restrict_raises configuration if activerecord is | Rafael Mendonça França | 2012-02-01 | 2 | -2/+1 |
| | | | | | | | | | | | | | | | | not preset | ||||
| * | | | Use human attribute name to show the dependent destroy message | Rafael Mendonça França | 2012-02-01 | 3 | -3/+28 |
|/ / / | |||||
* | | | Merge pull request #4828 from railsaholic/fix_error_message | José Valim | 2012-02-01 | 4 | -4/+7 |
|\ \ \ | | | | | | | | | fix has_one, has_many restrict error message | ||||
| * | | | fix has_one, has_many restrict error message | Manoj | 2012-02-01 | 4 | -4/+7 |
| | | | | |||||
* | | | | Merge pull request #4806 from KL-7/do-not-serialize-nil | Aaron Patterson | 2012-02-01 | 2 | -2/+15 |
|\ \ \ \ | | | | | | | | | | | Do not serialize nil in serialized attribute. | ||||
| * | | | | Do not serialize nil in serialized attribute. | Kirill Lashuk | 2012-01-31 | 2 | -2/+15 |
| | | | | | |||||
* | | | | | Merge pull request #4809 from cfeist/feist-sqlite-binary-corruption | Aaron Patterson | 2012-02-01 | 3 | -17/+3 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix for SQLite binary data corrupter (to master branch) | ||||
| * | | | | | Fixed issue with SQLite adapter corrupting binary data | Chris Feist | 2012-01-31 | 1 | -16/+1 |
| | | | | | | |||||
| * | | | | | Added test to illustrate bad binary blobs. | Chris Feist | 2012-01-31 | 2 | -1/+2 |
| | | | | | | |||||
* | | | | | | Merge pull request #4784 from semaperepelitsa/constantize | Aaron Patterson | 2012-02-01 | 2 | -2/+2 |
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | A little constantize update | ||||
| * | | | | | Dont do underscore and camelize, only camelize is fine | Semyon Perepelitsa | 2012-01-31 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | There is an "inherit" option on const_get too, why not use it? | Semyon Perepelitsa | 2012-01-31 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #4804 from rafaelfranca/check_box-fix | José Valim | 2012-02-01 | 2 | -1/+5 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | check_box with nil as unchecked value should be HTML safe | ||||
| * | | | | | | check_box with nil as unchecked value should be HTML safe | Rafael Mendonça França | 2012-01-31 | 2 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | | | | | | | revise docs [ci skip] | Vijay Dev | 2012-02-01 | 2 | -4/+4 |
| | | | | | | | |||||
* | | | | | | | document the AR none method [ci skip] | Vijay Dev | 2012-02-01 | 2 | -7/+31 |
| | | | | | | | |||||
* | | | | | | | fix a typo [ci skip] | Vijay Dev | 2012-02-01 | 1 | -1/+1 |
| | | | | | | |