Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | correct handling of date selects when using both disabled and discard options | Vasiliy Ermolovich | 2012-08-25 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | we should take disabled option not only from `html_options` hash but from `options` hash too like `build_select` method does it. So datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true }) datetime_select("post", "updated_at", :discard_minute => true , :disabled => true) both these variants work now closes #7431 | ||||
* | | copy edit the time_ago_in_words helper docs | Vijay Dev | 2012-08-23 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #7398 from iamvery/time_ago_in_words-docs | Vijay Dev | 2012-08-22 | 1 | -0/+7 |
|\ \ | |/ |/| | Extended documentation for `time_ago_in_words` helper | ||||
| * | Extended documentation for `time_ago_in_words` helper | Jay Hayes | 2012-08-20 | 1 | -0/+7 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-08-22 | 1 | -4/+4 |
|\ \ | |||||
| * | | Make a doc example output in match actual output | Evan Farrar | 2012-08-15 | 1 | -4/+4 |
| |/ | | | | | | | | | Make doc output in grouped_options_for_select divider example match actual output. The options groups were in backwards order of actual. | ||||
* | | option_tags coerced to "" instead of nil | Sandeep | 2012-08-21 | 1 | -0/+1 |
| | | |||||
* | | Fix documentation mistakes | Janko Marohnić | 2012-08-21 | 2 | -45/+45 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-08-16 | 1 | -1/+13 |
|\ | |||||
| * | copy edits [ci skip] | Vijay Dev | 2012-08-16 | 1 | -6/+7 |
| | |