Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make observers a little more dry | Stephen St. Martin | 2010-01-27 | 1 | -2/+1 |
| | |||||
* | fix failing tests from fork/merge | Stephen St. Martin | 2010-01-27 | 1 | -3/+4 |
| | |||||
* | cleanup some spacing | Stephen St. Martin | 2010-01-27 | 1 | -76/+75 |
| | |||||
* | extract_remote_attributes should be a private method | Stephen St. Martin | 2010-01-27 | 1 | -10/+10 |
| | |||||
* | Added observe_form | Bob Remeika | 2010-01-27 | 1 | -0/+8 |
| | |||||
* | Added submit_to_remote helper | Bob Remeika | 2010-01-27 | 1 | -0/+10 |
| | |||||
* | Removed duplication | Bob Remeika | 2010-01-27 | 1 | -8/+8 |
| | |||||
* | Changed data-name to data-observed on observe_field | Bob Remeika | 2010-01-27 | 1 | -11/+19 |
| | |||||
* | Refactored ajax helpers so they use a little bit more coherent pattern; ↵ | Bob Remeika | 2010-01-27 | 1 | -70/+70 |
| | | | | Removed code duplication from form_remote_tag | ||||
* | Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵ | Bob Remeika | 2010-01-27 | 1 | -23/+27 |
| | | | | form_helper and ajax_helper; Added script_decorator helper | ||||
* | Changed observe_field to field_observer | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Changed data-rails-type to data-js-type | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Changed data-remote='true' to data-js-type='remote' | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Took first stab at reimplementing form_remote_tag helpers | Bob Remeika | 2010-01-27 | 1 | -96/+26 |
| | |||||
* | Added assert_data_element_json test helper for data element helpers | Bob Remeika | 2010-01-27 | 1 | -4/+6 |
| | |||||
* | Took another stab at observe_field. Now implementing data only helpers as ↵ | Bob Remeika | 2010-01-27 | 1 | -11/+41 |
| | | | | script elements. | ||||
* | Changed the observe field node into a div with display:none | Bob Remeika | 2010-01-27 | 1 | -3/+8 |
| | |||||
* | Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵ | Bob Remeika | 2010-01-27 | 1 | -0/+6 |
| | | | | url_for on all urls passed to it. Tests that were testing different input types for the url were failing because of this. | ||||
* | Added the beginnings of the observe_field helper | Bob Remeika | 2010-01-27 | 1 | -11/+8 |
| | |||||
* | Added observe_form | Bob Remeika | 2010-01-27 | 1 | -0/+8 |
| | |||||
* | Added submit_to_remote helper | Bob Remeika | 2010-01-27 | 1 | -0/+10 |
| | |||||
* | Removed duplication | Bob Remeika | 2010-01-27 | 1 | -8/+8 |
| | |||||
* | Changed data-name to data-observed on observe_field | Bob Remeika | 2010-01-27 | 1 | -11/+19 |
| | |||||
* | Refactored ajax helpers so they use a little bit more coherent pattern; ↵ | Bob Remeika | 2010-01-27 | 1 | -56/+78 |
| | | | | Removed code duplication from form_remote_tag | ||||
* | Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵ | Bob Remeika | 2010-01-27 | 2 | -40/+48 |
| | | | | form_helper and ajax_helper; Added script_decorator helper | ||||
* | Changed observe_field to field_observer | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Changed data-rails-type to data-js-type | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Changed data-remote='true' to data-js-type='remote' | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Took first stab at reimplementing form_remote_tag helpers | Bob Remeika | 2010-01-27 | 1 | -24/+41 |
| | |||||
* | Added assert_data_element_json test helper for data element helpers | Bob Remeika | 2010-01-27 | 1 | -4/+6 |
| | |||||
* | Took another stab at observe_field. Now implementing data only helpers as ↵ | Bob Remeika | 2010-01-27 | 1 | -11/+41 |
| | | | | script elements. | ||||
* | Changed the observe field node into a div with display:none | Bob Remeika | 2010-01-27 | 1 | -3/+8 |
| | |||||
* | Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵ | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | | | | url_for on all urls passed to it. Tests that were testing different input types for the url were failing because of this. | ||||
* | Added the beginnings of the observe_field helper | Bob Remeika | 2010-01-27 | 1 | -1/+13 |
| | |||||
* | Merge remote branch 'fxn/master' | Jeremy Kemper | 2010-01-26 | 1 | -1/+0 |
|\ | |||||
| * | removes now void extending.rb | Xavier Noria | 2010-01-26 | 1 | -1/+0 |
| | | |||||
* | | Fix t('.helper'). | José Valim | 2010-01-26 | 1 | -2/+6 |
|/ | |||||
* | Make @controller an internal ivar in the view | Joshua Peek | 2010-01-22 | 3 | -11/+11 |
| | |||||
* | debug helper output should not be sanitized | Joshua Peek | 2010-01-16 | 1 | -2/+2 |
| | |||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 3 | -5/+6 |
| | |||||
* | Allow f.submit to be localized per object. | José Valim | 2010-01-15 | 1 | -2/+14 |
| | |||||
* | Move Dispatcher setup to Railties and add instrumentation hook. | José Valim | 2010-01-15 | 1 | -1/+1 |
| | |||||
* | Add documentation to f.submit and make scaffold generators use the new shortcut. | José Valim | 2010-01-14 | 1 | -15/+34 |
| | |||||
* | Custom 'type' attribute support for text_field. [#3646 status:resolved] | Stephen Celis | 2010-01-14 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make check boxes accept :multiple as option so they can handle collections ↵ | José Valim | 2010-01-14 | 1 | -1/+6 |
| | | | | (such as HABTM). | ||||
* | Call :to_model before working with the object. | José Valim | 2010-01-14 | 1 | -6/+11 |
| | |||||
* | Add possibility to use i18n translatios in submit FormHelper. | Carlos Antonio da Silva | 2010-01-14 | 1 | -3/+14 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fixed that PrototypeHelper#update_page should return html_safe [DHH] | David Heinemeier Hansson | 2010-01-08 | 1 | -1/+1 |
| | |||||
* | Fixed that much of DateHelper wouldn't return html_safe? strings [DHH] | David Heinemeier Hansson | 2010-01-08 | 1 | -5/+5 |
| | |||||
* | From now on, parameters defined in default_url_options can be absent from ↵ | José Valim | 2010-01-07 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views. |