Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #4641 from rafaelfranca/date_select-fix-3-2 | José Valim | 2012-01-24 | 1 | -3/+3 | |
| | | | | | | | | date_select fixes [3-2-stable] | |||||
* | | Raise a better error if anyone wants to create your own ↵ | Rafael Mendonça França | 2012-01-23 | 1 | -2/+3 | |
| | | | | | | | | ActionView::Helpers::Tags::Base child and do not implement the render method | |||||
* | | properly memoize {field_type,select_type} as class variable | Akira Matsuda | 2012-01-23 | 2 | -2/+14 | |
| | | ||||||
* | | no need to module_eval here anymore | Akira Matsuda | 2012-01-23 | 1 | -1/+3 | |
| | | ||||||
* | | Use ActiveSupport::Autoload to autoload the tags | Rafael Mendonça França | 2012-01-23 | 1 | -23/+25 | |
| | | ||||||
* | | Raise exception when date.order includes invalid elements | Indrek Juhkam | 2012-01-22 | 1 | -1/+9 | |
| | | ||||||
* | | Merge pull request #4574 from ihid/master | José Valim | 2012-01-21 | 1 | -0/+1 | |
|\ \ | | | | | | | Fixed regression - unable to use a range as choices for form.select. | |||||
| * | | Fix inconsistent ability to use a range as choices for select_tag. | Jeremy Walker | 2012-01-21 | 1 | -0/+1 | |
| | | | ||||||
* | | | Merge pull request #4588 from carlosantoniodasilva/remove-require-csrf | José Valim | 2012-01-21 | 1 | -2/+0 | |
|\ \ \ | |_|/ |/| | | Remove not used requires from csrf helper file and test | |||||
| * | | Remove not used requires from csrf helper file and test | Carlos Antonio da Silva | 2012-01-21 | 1 | -2/+0 | |
| |/ | | | | | | | | | These requires were added in a87b92d and the implementation changed in 2cdc1f0, removing the need for them. | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-21 | 1 | -0/+3 | |
|\ \ | |/ |/| | ||||||
| * | document `:raise` option support for several helpers [ci skip] | Jonathan Roes | 2012-01-20 | 1 | -0/+3 | |
| | | ||||||
* | | Refactor translations retrieval | Rafael Mendonça França | 2012-01-20 | 1 | -18/+15 | |
| | | ||||||
* | | Remove code duplication | Rafael Mendonça França | 2012-01-20 | 1 | -34/+19 | |
| | | ||||||
* | | No need to check html_safe? twice | Rafael Mendonça França | 2012-01-20 | 1 | -2/+1 | |
| | | ||||||
* | | Added format to percentage | Rodrigo Flores | 2012-01-20 | 1 | -2/+9 | |
|/ | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-19 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix small typo in mail_to docs in url_helper.rb | Simon Baird | 2012-01-19 | 1 | -1/+1 | |
| | | ||||||
* | | Extract method_tag | Rafael Mendonça França | 2012-01-19 | 2 | -2/+6 | |
| | | ||||||
* | | Refactor button_to helper to use token_tag method | Rafael Mendonça França | 2012-01-19 | 2 | -13/+10 | |
|/ | ||||||
* | Refactor FormBuilder arguments and default config | Carlos Antonio da Silva | 2012-01-18 | 1 | -10/+7 | |
| | | | | | | | | | | * Do not reopen AV::Base to define default form builder Inside the load hook we are already in AV::Base context. * Do not pass the given block to the form builder The block is evaluated in fields_for context using capture, with the builder as argument. This means we do not need to give the block to the FormBuilder itself. | |||||
* | Merge pull request #4509 from rafaelfranca/form_tag-refactor | José Valim | 2012-01-17 | 2 | -6/+5 | |
|\ | | | | | Refactor form_for and form_tag | |||||
| * | No need to call html_safe since concat two SaffeBuffers always results in a ↵ | Rafael Mendonça França | 2012-01-17 | 1 | -1/+1 | |
| | | | | | | | | SafeBuffer | |||||
| * | Use block syntax to avoid code duplication | Rafael Mendonça França | 2012-01-17 | 1 | -3/+3 | |
| | | ||||||
| * | No need to create a SafeBuffer since form_tag_html always rerturn a SafeBuffer | Rafael Mendonça França | 2012-01-17 | 1 | -2/+1 | |
| | | ||||||
* | | Fix errors when running entire suite due to class name collision | Carlos Antonio da Silva | 2012-01-18 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | The Post class is created everywhere in the test suite, and due to that when applying the Array() logic to refactor content_tag_for, some other change to the Post class was breaking record tag tests. The solution is to rename the class to not collide with others already defined in the test suite. | |||||
* | | Refactor content tag to not detect options Hash always | Carlos Antonio da Silva | 2012-01-18 | 1 | -7/+6 | |
| | | | | | | | | | | Only check for options and prefix arguments order once when running content_tag_for with a collection. | |||||
* | | Do not mutate options hash | Carlos Antonio da Silva | 2012-01-18 | 1 | -2/+2 | |
| | | ||||||
* | | Remove capture. | Tim Cooper | 2012-01-18 | 1 | -1/+1 | |
| | | ||||||
* | | Always treat the object passed to content_tag_for as an array. | Tim Cooper | 2012-01-18 | 1 | -7/+3 | |
|/ | ||||||
* | Extract input_checked? to a module | Rafael Mendonça França | 2012-01-17 | 4 | -9/+24 | |
| | ||||||
* | Do not need of ActionView::Helpers scope since we are inside | Rafael Mendonça França | 2012-01-17 | 3 | -21/+21 | |
| | | | | ActionView::Helpers | |||||
* | Remove unused code | Rafael Mendonça França | 2012-01-17 | 1 | -39/+0 | |
| | ||||||
* | Do not need each here anymore | Rafael Mendonça França | 2012-01-17 | 1 | -3/+1 | |
| | ||||||
* | Extract DatetimeSelect | Rafael Mendonça França | 2012-01-17 | 4 | -54/+11 | |
| | ||||||
* | Extract TimeSelect | Rafael Mendonça França | 2012-01-17 | 5 | -7/+16 | |
| | ||||||
* | Extract DateSelect | Rafael Mendonça França | 2012-01-17 | 4 | -6/+63 | |
| | ||||||
* | Cleanup | Rafael Mendonça França | 2012-01-17 | 1 | -72/+1 | |
| | ||||||
* | Extract TimeZoneSelect | Rafael Mendonça França | 2012-01-17 | 3 | -34/+22 | |
| | ||||||
* | Extract GroupedCollectionSelect | Rafael Mendonça França | 2012-01-17 | 3 | -24/+43 | |
| | ||||||
* | Extract CollectionSelect | Rafael Mendonça França | 2012-01-17 | 5 | -51/+64 | |
| | ||||||
* | Extract Select | Rafael Mendonça França | 2012-01-17 | 3 | -18/+59 | |
| | ||||||
* | Remove unused code | Rafael Mendonça França | 2012-01-17 | 1 | -31/+0 | |
| | ||||||
* | Extract RangeField | Rafael Mendonça França | 2012-01-17 | 3 | -11/+10 | |
| | ||||||
* | Extract NumberField | Rafael Mendonça França | 2012-01-17 | 3 | -1/+21 | |
| | ||||||
* | Extract EmailField | Rafael Mendonça França | 2012-01-17 | 3 | -1/+10 | |
| | ||||||
* | Extract UrlField | Rafael Mendonça França | 2012-01-17 | 3 | -1/+10 | |
| | ||||||
* | Extract TelField | Rafael Mendonça França | 2012-01-17 | 3 | -1/+10 | |
| | ||||||
* | Extract SearchField | Rafael Mendonça França | 2012-01-17 | 3 | -14/+26 | |
| | ||||||
* | Remove code duplication between CheckBox ans RadioButton | Rafael Mendonça França | 2012-01-17 | 3 | -19/+14 | |
| |