Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added :format option for form_for helper and spec for this [#5226 ↵ | Alex Chrome | 2010-09-01 | 1 | -1/+9 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Speed up form_for by specializing extract_options! (at asakusa.rb) | wycats | 2010-08-31 | 1 | -6/+8 |
| | |||||
* | password_field renders with nil value by default | Santiago Pastorino | 2010-08-28 | 1 | -5/+5 |
| | | | | | | | | This makes the use of passwords secure by default if you want to render the value of the password_field you have to do for instance f.password_field(:password, :value => @user.password) # => <input type=password id=user_password name=user[password] value=#{@user.password} /> | ||||
* | type="password" for password_fields | Santiago Pastorino | 2010-08-28 | 1 | -4/+4 |
| | |||||
* | Make InstanceTagMethods#value_before_type_cast raise if the model don't ↵ | Santiago Pastorino | 2010-08-27 | 1 | -3/+8 |
| | | | | | | respond to attr_before_type_cast or attr method [#3374] [#5471 state:committed] | ||||
* | Fix label form helper to use I18n and html options, without the need of ↵ | Carlos Antonio da Silva | 2010-08-01 | 1 | -3/+4 |
| | | | | | | | | | | | 'nil' text param: Before: f.label :title, nil, :class => 'title' After : f.label :title, :class => 'title' [#5267 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Makes form_helper use overriden model accessors | Santiago Pastorino | 2010-08-01 | 1 | -3/+3 |
| | | | | [#3374 state:committed] | ||||
* | doc: form_for does return output rather than merely evaluate its block | Wincent Colaiuta | 2010-07-22 | 1 | -4/+0 |
| | |||||
* | Moved a few methods from RecordIdentifier to ActiveModel::Naming | Piotr Sarnacki | 2010-07-21 | 1 | -5/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | remove size attribute from tag generated by file_field helper [#5084 ↵ | Miles Egan | 2010-07-13 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Added documentation for usage of associative resources with form_for | Rizwan Reza | 2010-07-01 | 1 | -1/+11 |
| | |||||
* | Do not wrap hidden fields with error proc [#4962 state:resolved] | Carlos Antonio da Silva | 2010-06-25 | 1 | -1/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | make text_field and hidden_field omit the value attribute if the developer ↵ | Jeff Dean | 2010-06-23 | 1 | -4/+4 |
| | | | | | | explicitly passes in :value => nil [#4839 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | adds minus to value part of id [#4862 state:resolved] | RainerBlessing | 2010-06-22 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | removed 'unless const_defined?' code smell | Josh Kalderimis | 2010-06-21 | 1 | -9/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-20 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb | ||||
| * | form_for without :html and with :remote should not error | David Genord II | 2010-06-18 | 1 | -1/+1 |
| | | | | | | | | | | | | [#4902 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Adds title and description where needed. | Rizwan Reza | 2010-06-16 | 1 | -0/+1 |
| | | |||||
* | | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -3/+3 |
|/ | |||||
* | refactor evals and adds some __FILE__ and __LINE__ | Santiago Pastorino | 2010-05-20 | 1 | -3/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Sending :id => nil to form helpers now properly omits the "id" html element ↵ | Jeff Dean | 2010-05-15 | 1 | -5/+11 |
| | | | | | | [#4559 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Improve previous patch a bit [#3645 state:resolved] | José Valim | 2010-05-15 | 1 | -3/+3 |
| | |||||
* | Let label helpers accept blocks. | Stephen Celis | 2010-05-15 | 1 | -15/+30 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax ↵ | Lawrence Pit | 2010-05-03 | 1 | -1/+1 |
| | | | | | | for I18n Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use %{} syntax in I18n (faster) instead of {{}}. | José Valim | 2010-05-01 | 1 | -3/+3 |
| | |||||
* | Let capture handle the yielding. | José Valim | 2010-04-12 | 1 | -4/+1 |
| | |||||
* | fields_for returns block result when outside ERB | Ryan Bates | 2010-04-11 | 1 | -1/+1 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | your beloved typo only spotted in github diff no matter how careful you were ↵ | Xavier Noria | 2010-04-11 | 1 | -1/+1 |
| | | | | before pushing | ||||
* | second pass to the intro rdoc of form_helper.rb | Xavier Noria | 2010-04-11 | 1 | -13/+55 |
| | |||||
* | removes some duplication in previous edit | Xavier Noria | 2010-04-10 | 1 | -5/+0 |
| | |||||
* | makes a pass to the intro rdoc of form_helper.rb, will revise form_for tomorrow | Xavier Noria | 2010-04-10 | 1 | -74/+38 |
| | |||||
* | form_for :as rubydoc and tidy up a bit the form_for doc | Santiago Pastorino | 2010-04-10 | 1 | -32/+19 |
| | |||||
* | Remove input, form, error_messages_for and error_message_on from the ↵ | José Valim | 2010-04-10 | 1 | -8/+0 |
| | | | | framework. If you think you will miss them, feel free to use the dynamic_form plugin available at http://github.com/rails/dynamic_form | ||||
* | fix stack trace lines on class_eval | Santiago Pastorino | 2010-04-09 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge commit 'rails/master' | Xavier Noria | 2010-04-06 | 1 | -4/+67 |
|\ | |||||
| * | Added all the new HTML5 form types as individual form tag methods (search, ↵ | David Heinemeier Hansson | 2010-04-05 | 1 | -0/+58 |
| | | | | | | | | url, number, etc) (Closes #3646) [Stephen Celis] | ||||
| * | changed from :object_name to :as on form_for api | Santiago Pastorino | 2010-04-05 | 1 | -7/+7 |
| | | |||||
| * | deprecate form_for(symbol_or_string, ...) in favor of :object_name option | Santiago Pastorino | 2010-04-05 | 1 | -4/+9 |
| | | |||||
* | | We don't need explicit :url => { :action => "create" } in form_for when ↵ | Rizwan Reza | 2010-04-05 | 1 | -7/+7 |
|/ | | | | following Rails conventions. | ||||
* | :action => "create" added to form_for with name only to show appropiate behavior | Santiago Pastorino | 2010-04-03 | 1 | -6/+6 |
| | |||||
* | :action => "update" used in a non RESTful way confuses | Santiago Pastorino | 2010-04-03 | 1 | -11/+11 |
| | |||||
* | Refactored url_for in AV to have its own instances of the helpers instead of ↵ | wycats | 2010-04-03 | 1 | -0/+1 |
| | | | | proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win) | ||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 1 | -1/+1 |
| | | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end | ||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into docrails | wycats | 2010-03-26 | 1 | -3/+3 |
|\ | |||||
| * | Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵ | wycats | 2010-03-17 | 1 | -3/+3 |
| | | | | | | | | warnings are in dependencies. | ||||
* | | Update of block helpers examples in form_helper.rb | Jeroen van Dijk | 2010-03-13 | 1 | -32/+32 |
| | | |||||
* | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-03-12 | 1 | -19/+29 |
|\| | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb | ||||
| * | Make form helpers work with <%= | wycats | 2010-03-09 | 1 | -7/+16 |
| | | |||||
| * | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook |