aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Create a Builder factory class to use with collection helpers + blockCarlos Antonio da Silva2012-02-023-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 callsCarlos Antonio da Silva2012-02-022-8/+18
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Remove collection_wrapper* and item_wrapper* optionsCarlos Antonio da Silva2012-02-024-218/+15
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Refactor value sanitization logicCarlos Antonio da Silva2012-02-022-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 bitCarlos Antonio da Silva2012-02-021-12/+12
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Refactor option groups to use content_tagCarlos Antonio da Silva2012-02-021-4/+4
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Add basic documentation to collection_check_boxes andRafael Mendonça França2012-02-021-0/+71
| | | | | | collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França]
* Use @output_buffer variable instead of concat in testsCarlos Antonio da Silva2012-02-021-10/+9
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Implement skipped testRafael Mendonça França2012-02-021-3/+5
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Add collection_radio_buttons and collection_check_boxes to FormBuilderRafael Mendonça França2012-02-022-9/+30
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Refactor the methods to use instance variablesRafael Mendonça França2012-02-023-22/+26
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Change Tag class to Category since there is another Tag classRafael Mendonça França2012-02-021-33/+33
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Refactor render_collection methodRafael Mendonça França2012-02-022-13/+9
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Move collection_check_boxes and collection_radio_buttons to they ourRafael Mendonça França2012-02-023-8/+15
| | | | | | module [Carlos Antonio da Silva + Rafael Mendonça França]
* Add collection_check_boxes helperCarlos Antonio da Silva2012-02-024-1/+262
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Create collection_radio_buttons helperCarlos Antonio da Silva2012-02-024-15/+279
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Merge pull request #4849 from carlosantoniodasilva/checkbox-hidden-formJosé Valim2012-02-023-4/+18
|\ | | | | Replicate :form html5 attribute to hidden field for check_box
| * Replicate :form html5 attribute to hidden field for check_boxCarlos Antonio da Silva2012-02-023-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_testJosé Valim2012-02-023-3/+0
|\ | | | | No Verbose the output for test.
| * No verbose the output for tests.Arun Agrawal2012-02-013-3/+0
| |
* | Merge pull request #4842 from jamesarosen/masterJosé Valim2012-02-011-8/+5
|\ \ | | | | | | Update documentation for register_template_handler
| * | updating documentation for register_template_handlerJames A. Rosen2012-02-011-8/+5
| | |
* | | use the class method to (un)escape binary valuesAaron Patterson2012-02-011-2/+2
|/ /
* | Merge pull request #4543 from jdelStrother/find_or_initJon Leighton2012-02-012-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_byJonathan del Strother2012-01-192-2/+13
| | |
* | | Merge pull request #4832 from guilleiguaran/https-gemfileJosé Valim2012-02-011-1/+1
|\ \ \ | | | | | | | | Use https://rubygems.org source for default Gemfile
| * | | Use https://rubygems.org source for default GemfileGuillermo Iguaran2012-02-011-1/+1
|/ / / | | | | | | | | | See https://github.com/rails/rails/pull/4684#commitcomment-920313
* | | Merge pull request #4830 from rafaelfranca/restrict-fixAaron Patterson2012-02-012-3/+3
|\ \ \ | | | | | | | | Fix typo
| * | | Fix typoRafael Mendonça França2012-02-012-3/+3
|/ / /
* | | Merge pull request #4829 from rafaelfranca/restrict-fixAaron Patterson2012-02-015-5/+29
|\ \ \ | | | | | | | | Use human attribute name to show the dependent destroy message
| * | | Remove the dependent_restrict_raises configuration if activerecord isRafael Mendonça França2012-02-012-2/+1
| | | | | | | | | | | | | | | | not preset
| * | | Use human attribute name to show the dependent destroy messageRafael Mendonça França2012-02-013-3/+28
|/ / /
* | | Merge pull request #4828 from railsaholic/fix_error_messageJosé Valim2012-02-014-4/+7
|\ \ \ | | | | | | | | fix has_one, has_many restrict error message
| * | | fix has_one, has_many restrict error messageManoj2012-02-014-4/+7
| | | |
* | | | Merge pull request #4806 from KL-7/do-not-serialize-nilAaron Patterson2012-02-012-2/+15
|\ \ \ \ | | | | | | | | | | Do not serialize nil in serialized attribute.
| * | | | Do not serialize nil in serialized attribute.Kirill Lashuk2012-01-312-2/+15
| | | | |
* | | | | Merge pull request #4809 from cfeist/feist-sqlite-binary-corruptionAaron Patterson2012-02-013-17/+3
|\ \ \ \ \ | | | | | | | | | | | | Fix for SQLite binary data corrupter (to master branch)
| * | | | | Fixed issue with SQLite adapter corrupting binary dataChris Feist2012-01-311-16/+1
| | | | | |
| * | | | | Added test to illustrate bad binary blobs.Chris Feist2012-01-312-1/+2
| | | | | |
* | | | | | Merge pull request #4784 from semaperepelitsa/constantizeAaron Patterson2012-02-012-2/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | A little constantize update
| * | | | | Dont do underscore and camelize, only camelize is fineSemyon Perepelitsa2012-01-311-1/+1
| | | | | |
| * | | | | There is an "inherit" option on const_get too, why not use it?Semyon Perepelitsa2012-01-311-1/+1
| | | | | |
* | | | | | Merge pull request #4804 from rafaelfranca/check_box-fixJosé Valim2012-02-012-1/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | check_box with nil as unchecked value should be HTML safe
| * | | | | | check_box with nil as unchecked value should be HTML safeRafael Mendonça França2012-01-312-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* | | | | | | revise docs [ci skip]Vijay Dev2012-02-012-4/+4
| | | | | | |
* | | | | | | document the AR none method [ci skip]Vijay Dev2012-02-012-7/+31
| | | | | | |
* | | | | | | fix a typo [ci skip]Vijay Dev2012-02-011-1/+1
| | | | | | |
* | | | | | | Merge pull request #4825 from sikachu/master-fix-plugin-newJosé Valim2012-02-011-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix broken test introduced from #4814
| * | | | | | | Fix broken test introduced from #4814Prem Sichanugrist2012-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ruby_debugger_gemfile_entry was removed from the generator. Please make sure to run `grep` or `ack` to make sure it was removed in every places.
* | | | | | | | Merge pull request #4826 from kennyj/fix_4737-2José Valim2012-02-012-8/+11
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Fix GH #4737. Missing helper file (LoadError) in mountable plugin.