aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Start cleanup of deprecations in ActionViewCarlos Antonio da Silva2010-09-062-29/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Cleanup deprecations in Action DispatchCarlos Antonio da Silva2010-09-061-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make number_to_human and number_with_precision work with negativesSantiago Pastorino2010-09-051-2/+2
|
* Fix code style a bitSantiago Pastorino2010-09-051-2/+1
|
* Fix number_to_human(0) exception [#5532 state:resolved]Ben Sharpe2010-09-051-1/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove namespace for isolated namespaced models in formsPiotr Sarnacki2010-09-031-5/+5
|
* Refactor RoutesProxy to avoid using _with_routes in helpersPiotr Sarnacki2010-09-031-3/+5
|
* Fix generating urls with mounted helpers in view contextPiotr Sarnacki2010-09-031-1/+3
| | | | | | | | | | There were actually 2 problems with this one: * script_name was added to options as a string and then it was used in RouteSet#url_for with usage of <<, which was changing the original script_name * the second issue was with _with_routes method. It was called in RoutesProxy to modify _routes in view_context, but url_helpers in views is just delegating it to controller, so another _with_routes call is needed there
* Added ability to set asset_path for enginesPiotr Sarnacki2010-09-031-0/+3
|
* Merge remote branch 'docrails/master'Xavier Noria2010-09-031-1/+1
|\
| * fix typo(?)Akira Matsuda2010-09-011-1/+1
| |
* | Removing RJS hackThiago Pradi2010-09-021-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Added :format option for form_for helper and spec for this [#5226 ↵Alex Chrome2010-09-011-1/+9
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Remove unnecessary code from UrlHelper#link_to.yury2010-09-011-7/+2
|/ | | | | | convert_options_to_data_attributes always returns not nil stringified html_options [#5445 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'docrails/master'Xavier Noria2010-09-011-2/+3
|\
| * Fix API docs for button_to optionsJaime Iniesta2010-08-311-2/+3
| |
* | Speed up form_for by specializing extract_options! (at asakusa.rb)wycats2010-08-311-6/+8
| |
* | Speed up content_tag_for by simplifying needed logicwycats2010-08-311-3/+3
|/
* Remove NonConcattingString.José Valim2010-08-291-1/+1
|
* password_field renders with nil value by defaultSantiago Pastorino2010-08-281-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_fieldsSantiago Pastorino2010-08-281-4/+4
|
* Merge remote branch 'docrails/master'Xavier Noria2010-08-281-1/+1
|\
| * Prevent any warnings from being printed during RDoc generationJoost Baaij2010-08-261-1/+1
| |
| * Fix capture_helper.rb api documentation, unescaped script tag was breaking ↵Jaime Iniesta2010-08-261-1/+1
| | | | | | | | it on the content_for explanation
* | Add missing require.José Valim2010-08-271-1/+2
| |
* | Make InstanceTagMethods#value_before_type_cast raise if the model don't ↵Santiago Pastorino2010-08-271-3/+8
| | | | | | | | | | | | respond to attr_before_type_cast or attr method [#3374] [#5471 state:committed]
* | Removing some unuseful begin/end and refactor prompt_option_tag a bitCarlos Antonio da Silva2010-08-271-16/+11
| | | | | | | | | | | | [#5469 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Fix capture_helper.rb api documentation, unescaped script tag was breaking ↵Jaime Iniesta2010-08-261-1/+1
|/ | | | it on the content_for explanation
* Restore consistency with the rest of the doc.Rémy Coutable2010-08-251-2/+2
|
* Fixed a missing simple quote.Rémy Coutable2010-08-251-1/+1
|
* Revert "It's snowing!"wycats2010-08-181-1/+1
| | | | This reverts commit e4283007d607454acf97301821ba1e1c417bdead.
* select tags coerce the :selected option, options to strings before ↵Subba Rao Pasupuleti2010-08-151-9/+12
| | | | | | comparison [#5056 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Making time_zone_options_for_select return a html_safe stringMikel Lindsaar2010-08-151-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-148-32/+32
| | | | 's/[ \t]*$//' -i {} \;)
* removing a lolinjectAaron Patterson2010-08-131-2/+2
|
* It's snowing!Jeremy Kemper2010-08-121-1/+1
|
* Replace snowman with utf8=✓wycats2010-08-111-1/+1
|
* rename _snowman to _ewycats2010-08-091-1/+1
|
* adds missing requires for Object#tryXavier Noria2010-08-091-0/+1
|
* Concernify SanitizeHelper and TextHelper so including TextHelper correctly ↵wycats2010-08-042-0/+4
| | | | include SanitizeHelper and extends its ClassMethods
* Fix label form helper to use I18n and html options, without the need of ↵Carlos Antonio da Silva2010-08-011-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 accessorsSantiago Pastorino2010-08-011-3/+3
| | | | [#3374 state:committed]
* Removed deprecated APIs in text and number helpers [#5156 state:resolved]Łukasz Strzałkowski2010-07-262-64/+5
| | | | | | They're deprecated since 2008. It's time to get rid of them. Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'docrails/master'Xavier Noria2010-07-261-1/+1
|\
| * update remote_function docs referencing link_to_remoteAndrew Kaspick2010-07-221-1/+1
| |
* | Change returning with tapSantiago Pastorino2010-07-251-2/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Fixed output_buffer encoding problem [#5179]Sebastian A. Espindola2010-07-251-1/+1
| | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com>
* | options could be of any kind of Hash (Hash, HashWithIndifferentAccess or ↵Santiago Pastorino2010-07-211-1/+1
|/ | | | OrderedHash) this way we keep the properties of the options passed as an argument
* doc: form_for does return output rather than merely evaluate its blockWincent Colaiuta2010-07-221-4/+0
|
* remote_function patch with more detailed testAndrew Kaspick2010-07-211-1/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>