Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Consistently use lowercase instead of camelCase for all JS class names in Rails | David Heinemeier Hansson | 2010-04-08 | 2 | -15/+15 |
| | |||||
* | Revert "adds #favicon_link_tag and #apple_touch_icon_link_tag" -- these tags ↵ | David Heinemeier Hansson | 2010-04-08 | 1 | -44/+0 |
| | | | | | | are too specific. This reverts commit 6891f46d10957f21f200fc4dc2b6076ff411b1da, ec8610cfdc32d0fe816fb22405e00ef1b6c90d73, and d18ff1b7efd96e7c08bc1a15137735be45f87e07. | ||||
* | Remove superfluous condition | Jeremy Kemper | 2010-04-08 | 1 | -1/+1 |
| | |||||
* | adds a default source to #apple_touch_icon_link_tag | Xavier Noria | 2010-04-07 | 1 | -6/+12 |
| | |||||
* | new helpers #favicon_link_tag and #apple_touch_icon_link_tag | Xavier Noria | 2010-04-07 | 1 | -0/+38 |
| | |||||
* | Merge commit 'rails/master' | Xavier Noria | 2010-04-06 | 2 | -4/+130 |
|\ | |||||
| * | Added all the new HTML5 form types as individual form tag methods (search, ↵ | David Heinemeier Hansson | 2010-04-05 | 2 | -0/+121 |
| | | | | | | | | 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 |
| | | |||||
* | | revises some <%= in rdoc | Xavier Noria | 2010-04-05 | 2 | -2/+3 |
| | | |||||
* | | <% yield to <%= yield in rdoc of _layout_for, and copy-edits it now that we ↵ | Xavier Noria | 2010-04-05 | 1 | -17/+31 |
| | | | | | | | | are on it | ||||
* | | We don't need explicit :url => { :action => "create" } in form_for when ↵ | Rizwan Reza | 2010-04-05 | 1 | -7/+7 |
|/ | | | | following Rails conventions. | ||||
* | Merge commit 'docrails/master' | Xavier Noria | 2010-04-04 | 2 | -15/+15 |
|\ | |||||
| * | Merge branch 'master' of github.com:lifo/docrails | Andrew White | 2010-04-04 | 9 | -40/+87 |
| |\ | |||||
| | * | :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 |
| | | | |||||
| * | | Update various documentation examples to use new routing DSL | Andrew White | 2010-04-04 | 1 | -2/+2 |
| | | | |||||
* | | | Use a constant proc to generate ActionView::Template finalizers. For some ↵ | Aman Gupta | 2010-04-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | strange reason, finalizers created via ActionView::Template.finalizer_for cause Template instances to leak on MRI. Signed-off-by: wycats <wycats@gmail.com> | ||||
* | | | * Change the object used in routing constraints to be an instance of | wycats | 2010-04-03 | 1 | -1/+6 |
| |/ |/| | | | | | | | | | | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request | ||||
* | | Refactored url_for in AV to have its own instances of the helpers instead of ↵ | wycats | 2010-04-03 | 5 | -23/+53 |
| | | | | | | | | 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) | ||||
* | | Fix memory leak in dev mode | wycats | 2010-04-02 | 1 | -0/+9 |
| | | |||||
* | | Key partial name cache on controller and object class *names* to avoid ↵ | Jeremy Kemper | 2010-04-02 | 1 | -2/+2 |
| | | | | | | | | memory leaks in dev mode | ||||
* | | Fix error in number_with_precision with :significant option and zero value ↵ | Bernardo de Pádua | 2010-04-01 | 1 | -2/+6 |
| | | | | | | | | | | | | [#4306 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | HTML safety: give a deprecation warning if an array of option tags is passed ↵ | Jeremy Kemper | 2010-03-31 | 1 | -0/+4 |
|/ | | | | to select tag. Be sure to join the tag yourself and mark them .html_safe | ||||
* | yield always return an array, so we don't need to use .key? | José Valim | 2010-03-31 | 1 | -6/+1 |
| | |||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 4 | -5/+5 |
| | | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end | ||||
* | Updated asset_template_path to asset_path and have it also support a String ↵ | wycats | 2010-03-28 | 1 | -10/+11 |
| | | | | [#4247 state:resolved] | ||||
* | Allow customisation of asset path generation using a proc. | Craig R Webster | 2010-03-28 | 1 | -2/+66 |
| | | | | | | | | | | | | | | | | Set config.action_controller.asset_path_template to a proc that takes one argument - the direct, unchanged asset path - and returns a path to that asset using the scheme that your assets require. This is useful if you have a setup which scales by introducing new application servers where the mtime of the asset files may not be the same as those of the asset files on your previous servers, but it does require your web servers to have knowledge of the asset template paths that you rewrite to so it's not suitable for out-of-the-box use. An example of configuring asset path generation and rewriting these paths using Apache is included in actionpack/lib/action_view/helpers/asset_tag_helper.rb. Signed-off-by: wycats <wycats@gmail.com> | ||||
* | html_tag option to wrap error_message_on text [#4283 state:resolved] | Paco Guzman | 2010-03-28 | 1 | -9/+12 |
| | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 10 | -0/+12 |
| | |||||
* | Ensure details are frozen after @details_keys lookup. The implementation ↵ | José Valim | 2010-03-27 | 2 | -14/+18 |
| | | | | waits to freeze until the last required moment, to avoid duping hashes. | ||||
* | Missing require | wycats | 2010-03-27 | 1 | -0/+1 |
| | |||||
* | Fixes a bug where error_messages_for was returning an empty div [#4048 ↵ | wycats | 2010-03-27 | 1 | -1/+1 |
| | | | | state:resolved] (ht: Geoff Garside) | ||||
* | Recovers error_messages for ActiveRecordInstanceTag. [#4078 state:resolved] | Daniel Rodríguez Troitiño | 2010-03-27 | 1 | -0/+4 |
| | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Use ActiveSupport::Autoload for view helpers. [#4237 state:resolved] | Sam Elliott and Ryan Bigg | 2010-03-27 | 1 | -24/+26 |
| | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Merge branch 'master' into docrails | wycats | 2010-03-26 | 23 | -436/+696 |
|\ | |||||
| * | Move application configuration to the application configuration object, ↵ | José Valim | 2010-03-26 | 2 | -4/+12 |
| | | | | | | | | remove railtie_name and engine_name and allow to set the configuration object. | ||||
| * | Remove reference to unexistent methods and fix typo. | José Valim | 2010-03-26 | 1 | -1/+1 |
| | | |||||
| * | Rename unsignificant to insignificant. | José Valim | 2010-03-23 | 2 | -18/+18 |
| | | |||||
| * | NumberHelper methods should now return html_safe strings (when the inputs ↵ | Bernardo de Pádua | 2010-03-22 | 1 | -29/+86 |
| | | | | | | | | | | | | are valid numbers or are html_safe). Also adds :raise => true (used internaly) to make the number helpers throw InvalidNumberError when the given number is invalid. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Adds number_to_human and several improvements in NumberHelper. [#4239 ↵ | Bernardo de Pádua | 2010-03-22 | 2 | -98/+274 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Remove data-url support from url_helper [#4236 state:resolved] | Denis Odorcic | 2010-03-21 | 1 | -2/+0 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Eliminate an error from an implicit dependency on AV::Base | wycats | 2010-03-19 | 2 | -23/+22 |
| | | |||||
| * | Merge branch 'master' of gitproxy:rails/rails | José Valim | 2010-03-19 | 1 | -26/+23 |
| |\ | |||||
| | * | cleans a bit #compute_public_path | Xavier Noria | 2010-03-19 | 1 | -26/+23 |
| | | | | | | | | | | | | | | | | | | [#4232 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | | Improve performance of the rendering stack by freezing formats as a sign ↵ | José Valim | 2010-03-19 | 6 | -64/+65 |
| |/ | | | | | | | that they shouldn't be further modified. | ||||
| * | Each controller class has it's own view context subclass. This removes the ↵ | Carlhuda | 2010-03-18 | 2 | -34/+0 |
| | | | | | | | | need for ActionView::Base.for_controller | ||||
| * | All tests pass without memoizing view_context | Carlhuda | 2010-03-18 | 2 | -3/+21 |
| | | |||||
| * | Sending the partial as info is no longer required. | José Valim | 2010-03-18 | 1 | -3/+3 |
| | | |||||
| * | Use Array.wrap not Array() | Jeremy Kemper | 2010-03-17 | 1 | -1/+2 |
| | |