Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-11-03 | 16 | -314/+314 | |
|\ | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md | |||||
| * | Hash Syntax to 1.9 related changes | AvnerCohen | 2012-10-29 | 16 | -299/+299 | |
| | | ||||||
| * | fix error in AssertTagHelper documentation [ci skip] | Cesar Carruitero | 2012-10-21 | 1 | -5/+5 | |
| | | ||||||
| * | update AssetTagHelper documentation [ci skip] | Cesar Carruitero | 2012-10-21 | 1 | -21/+21 | |
| | | ||||||
* | | Make caller attribute in deprecation methods optional | Alexey Gaziev | 2012-10-30 | 7 | -14/+13 | |
| | | ||||||
* | | Fix failing tests and use new hash style in deprecation messages | Carlos Antonio da Silva | 2012-10-29 | 3 | -15/+15 | |
| | | ||||||
* | | Provide a call stack for deprecation warnings where needed. | Nikita Afanasenko | 2012-10-29 | 6 | -13/+29 | |
| | | | | | | | | It's sometimes hard to quickly find where deprecated call was performed, especially in case of migrating between Rails versions. So this is an attempt to improve the call stack part of the warning message by providing caller explicitly. | |||||
* | | Improve the deprecation message of link_to_function and | Rafael Mendonça França | 2012-10-27 | 1 | -2/+4 | |
|/ | | | | | | button_to_function Point the the Unobtrusive JavaScript secion in the JavaScript guide | |||||
* | check_box value can be not only an object of Array class | Vasiliy Ermolovich | 2012-10-20 | 1 | -3/+5 | |
| | | | | there is a chance that `value` is a Set or an object that reponses to `include?` method so let's handle this case | |||||
* | Add i18n scope to disance_of_time_in_words. | Steve Klabnik | 2012-10-19 | 1 | -1/+5 | |
| | | | | This fixes #733. | |||||
* | Extend date_select helper functionality. | Pavel Nikitin | 2012-10-18 | 1 | -0/+3 | |
| | ||||||
* | Ignore asset url query string or anchor when appending extensions and ↵ | Joshua Peek | 2012-10-15 | 1 | -1/+3 | |
| | | | | computing public path | |||||
* | Extract compute_asset_extname and allow extname to be disabled | Joshua Peek | 2012-10-15 | 1 | -7/+15 | |
| | ||||||
* | :fire: Rails asset id support | Joshua Peek | 2012-10-15 | 2 | -155/+0 | |
| | ||||||
* | merge! default asset tag options | Joshua Peek | 2012-10-15 | 1 | -12/+12 | |
| | ||||||
* | Just check request instead of controller.request | Joshua Peek | 2012-10-15 | 1 | -13/+2 | |
| | ||||||
* | Allow asset url config to be undefined | Joshua Peek | 2012-10-13 | 1 | -2/+4 | |
| | ||||||
* | All asset url helpers should pass options | Joshua Peek | 2012-10-12 | 1 | -24/+24 | |
| | ||||||
* | Ensure AssetUrlHelper can be mixed into AC::Base | Joshua Peek | 2012-10-12 | 1 | -6/+13 | |
| | ||||||
* | Refactor AssetUrlHelper to make it friendly for plugins and extensions | Joshua Peek | 2012-10-12 | 4 | -200/+238 | |
| | | | | | | | | Add asset_path/url helper for a consolidated entry point Expose compute_asset_path as a public API Expose compute_asset_host as a public API Move RAILS_ASSET_ID to its own module, AssetIdHelper Removed AV::AssetPaths | |||||
* | Add asset_path and asset_url helpers | Joshua Peek | 2012-10-12 | 2 | -17/+54 | |
| | ||||||
* | Split asset url helpers into seperate AssetUrlHelper | Joshua Peek | 2012-10-12 | 4 | -419/+414 | |
| | ||||||
* | Remove old asset tag concatenation | Joshua Peek | 2012-10-10 | 3 | -366/+16 | |
| | | | | Use sprockets, jammit, or some other asset bundler | |||||
* | Fix nodoc comment | Rafael Mendonça França | 2012-10-07 | 1 | -16/+15 | |
| | ||||||
* | More Ruby 1.9 hash syntax. | Rafael Mendonça França | 2012-10-06 | 1 | -52/+47 | |
| | ||||||
* | We don't need to check blank? here. | Rafael Mendonça França | 2012-10-06 | 1 | -1/+1 | |
| | | | | | | | | Also the blank? check introduced a bug. $ rails generate model Foo blank:boolean form_for(Foo.new(:blank => true)) => ArgumentError, "First argument in form cannot contain nil or be empty" | |||||
* | Update some code styles. | Rafael Mendonça França | 2012-10-06 | 1 | -50/+48 | |
| | | | | | * Uses the Ruby 1.9 hash syntax * Avoid escaping " inside string using the %{} syntax | |||||
* | Accept :remote as symbol in link_to options | Riley Lynch | 2012-10-06 | 1 | -2/+5 | |
| | | | | | Accept either :remote or 'remote' in both the html_options and (url_)options hash arguments to link_to. | |||||
* | Add nodoc to now public fragment_name_with_digest | Ryan Garver | 2012-10-04 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'master' into feature/public-fragment_name_with_digest | Ryan Garver | 2012-10-02 | 1 | -2/+2 | |
|\ | ||||||
| * | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-28 | 1 | -2/+2 | |
| |\ | | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/asset_tag_helper.rb | |||||
| | * | update image_tag output in examples to actual | Nihad Abbasov | 2012-09-25 | 1 | -4/+4 | |
| | | | | | | | | | [ci-skip] | |||||
* | | | Move the CacheHelper#fragment_name_with_digest to be public so custom ↵ | Ryan Garver | 2012-09-27 | 1 | -11/+11 | |
|/ / | | | | | | | fragment caching can benefit from it. | |||||
* | | change ^ and $ anchors in regexp to \A and \z respectively | Nihad Abbasov | 2012-09-25 | 1 | -1/+1 | |
| | | | | | | | | http://guides.rubyonrails.org/security.html#regular-expressions | |||||
* | | allow to pass numerical value to size option in image_tag | Nihad Abbasov | 2012-09-25 | 1 | -4/+5 | |
|/ | | | | | This will set image's both width and height attributes to value passed in size option. | |||||
* | copy edits 137e5d9 | Xavier Noria | 2012-09-18 | 1 | -1/+1 | |
| | ||||||
* | Add extra documentation for password_field | Arek W | 2012-09-18 | 1 | -1/+1 | |
| | | | | I think this should be explicit as the password fields behaviour is inconsistent with other fields in this regard. It had me scratching my head until I dug through the source code. | |||||
* | Tidy up excerpt separator logic a bit | Carlos Antonio da Silva | 2012-09-08 | 1 | -17/+11 | |
| | ||||||
* | Refactor some date helpers to use merge! | Carlos Antonio da Silva | 2012-09-08 | 1 | -5/+9 | |
| | | | | Also just set the hash value instead of merging when it's only one key. | |||||
* | Add a separation option for the excerpt function | Guirec Corbel | 2012-09-08 | 1 | -11/+49 | |
| | | | | | | | | | | The separation option enable to keep entire words, lines or anything. To split by line, like github, we can set the separation option as \n. To split by word, like google, we can set the separation option as " ". The radius option represent the number of lines or words we want to have in the result. The default behaviour is the same. If we don't set the separation option, it split the text any where. | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-01 | 1 | -0/+4 | |
|\ | ||||||
| * | reverting changes from commit b0896c38 | Sven Kraeuter | 5v3n | 2012-09-01 | 1 | -1/+1 | |
| | | ||||||
| * | there is no "delete" action in a controller | Sven Kräuter | 2012-08-31 | 1 | -1/+1 | |
| | | ||||||
| * | Added example of using options_for_select() with select_tag() | Kir Shatrov | 2012-08-30 | 1 | -0/+4 | |
| | | ||||||
* | | Add automatic template digests to all CacheHelper#cache calls (originally ↵ | David Heinemeier Hansson | 2012-08-29 | 1 | -9/+93 | |
| | | | | | | | | spiked in the cache_digests plugin) *DHH* | |||||
* | | Don't require action_dispatch in ActionView::UrlHelpers | Piotr Sarnacki | 2012-08-28 | 1 | -98/+16 | |
| | | | | | | | | | | | | | | | | | | | | ActionDispatch::Routing::UrlFor was always required in UrlHelpers. This was changed by splitting previous implementation of UrlHelper into 2 modules: ActionView::Helpers::UrlHelper and ActionView::Routing::UrlHelper. The former one keeps only basic implementation of url_for. The latter adds features that allow to use routes and is only required when url_helpers or mounted_helpers are required. | |||||
* | | Deprecate mime types lookup in auto_discovery_link_tag | Piotr Sarnacki | 2012-08-28 | 1 | -0/+8 | |
| | | | | | | | | | | | | Automatically handling mime types for things other than :rss and :atom is not functionality that justifies dependency on Mime::Type from actionpack. | |||||
* | | Move action_controller/vendor/html-scanner to action_view | Piotr Sarnacki | 2012-08-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | This is another step in moving Action View's dependencies in Action Pack to Action View itself. Also, HtmlScanner seems to be better suited for views rather than controllers. | |||||
* | | Add ActionView::ModelNaming | Piotr Sarnacki | 2012-08-28 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | It's just a duplicate of ActionController::ModelNaming. These are just a simple helpers for decoupling Active Model, so it does not make sense to extract it to Active Support, but the point is to decouple also Action View and Action Pack | |||||
* | | Move ActionController::RecordIdentifier to ActionView | Piotr Sarnacki | 2012-08-28 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | Since it's more about DOM classes and ids it belongs to Action View better. What's more, it's more convenient to make it part of Action View to follow the rule that Action Pack can depend on Action View, but not the other way round. |