Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix failing tests and use new hash style in deprecation messages | Carlos Antonio da Silva | 2012-10-29 | 4 | -16/+16 |
| | |||||
* | Provide a call stack for deprecation warnings where needed. | Nikita Afanasenko | 2012-10-29 | 8 | -15/+38 |
| | | | | 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 | ||||
* | Fix gratuitous use of ternary operator | Caleb Thompson | 2012-10-25 | 1 | -2/+5 |
| | |||||
* | 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. | ||||
* | Merge pull request #7975 from butcher/extend_date_select_helper_functionality | Rafael Mendonça França | 2012-10-18 | 1 | -0/+3 |
|\ | | | | | | | | | | | | | Extend date_select helper functionality. Conflicts: actionpack/CHANGELOG.md | ||||
| * | Extend date_select helper functionality. | Pavel Nikitin | 2012-10-18 | 1 | -0/+3 |
| | | |||||
* | | fix Digestor to be thread safe. | Aaron Patterson | 2012-10-17 | 1 | -8/+30 |
|/ | | | | | Add a lock on the cache so that we don't have concurrency issues when calculating the cache. | ||||
* | 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 |
| | |||||
* | Merge branch 'master' into asset-path-helper | Joshua Peek | 2012-10-15 | 1 | -4/+0 |
|\ | | | | | | | | | Conflicts: railties/test/application/configuration_test.rb | ||||
| * | Removed useless "extend SanitizeHelper::ClassMethods" | Andrey Samsonov | 2012-10-15 | 1 | -4/+0 |
| | | | | | | | | | | Since SanitizeHelper includes ActiveSupport::Concern, extending of it ClassMethods is no needed. | ||||
* | | :fire: Rails asset id support | Joshua Peek | 2012-10-15 | 4 | -164/+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 | 7 | -344/+240 |
| | | | | | | | | | | | | | | | | 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 | 5 | -419/+416 |
| | |||||
* | Allow for deep directory path for view templates. | Andy Shipman | 2012-10-11 | 1 | -1/+1 |
| | |||||
* | refactor `ActionView::TestCase` internals to track rendered locals | Yves Senn | 2012-10-11 | 1 | -11/+29 |
| | | | | | this refactoring extracts the semi complex data structure of rendered locals per view into into a separate class | ||||
* | recognizes when a partial was rendered twice. Closes #3675 | Yves Senn | 2012-10-11 | 1 | -5/+8 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-10-11 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: activerecord/lib/active_record/persistence.rb railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb | ||||
| * | Closed unclosed <tt>, working on a complete solution for docrails, but ↵ | AvnerCohen | 2012-10-08 | 1 | -1/+1 |
| | | | | | | | | testing push process first | ||||
* | | Remove expansion config | Joshua Peek | 2012-10-10 | 1 | -2/+0 |
| | | |||||
* | | Remove old asset tag concatenation | Joshua Peek | 2012-10-10 | 4 | -378/+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 | 3 | -7/+11 |
|\ \ | |||||
| * \ | Merge pull request #7708 from bdurand/optimize_log_subscribers | Rafael Mendonça França | 2012-10-01 | 1 | -2/+5 |
| |\ \ | | | | | | | | | Optimize log subscribers to check if the log level is sufficient | ||||
| | * | | Optimize log subscribers to check if the log level is sufficient before ↵ | Brian Durand | 2012-09-30 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | performing an operations. | ||||
| * | | | prefix TemplateAssertions ivars (#7459) | Yves Senn | 2012-10-01 | 1 | -3/+3 |
| | |/ | |/| | |||||
| * | | 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] | ||||
| * | | Fix tests broken by adding a new instance variable to view test cases | Jeremy Kemper | 2012-09-27 | 1 | -0/+1 |
| | | | |||||
* | | | 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. | ||||
* | | Adds missing dependency to ActionView::TestCase::Behavior | Andy Lindeman | 2012-09-26 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | * The module is needed for the `determine_constant_from_test_name` method. * Without it, the including class is required to also include `ActiveSupport::Testing::ConstantLookup` or a `NoMethodError` will be raised upon instantiation of that class. * Issue introduced in c0a24555f9e2749fb94efe1967cb9943db0b6a7e | ||||
* | | 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. | ||||
* | | Support helper tests using spec DSL | Mike Moore | 2012-09-24 | 1 | -4/+3 |
| | | | | | | | | | | Improve how helper tests to resolve the helper class from the test name. Add tests for helper tests using the minitest spec DSL. | ||||
* | | Register helper and view tests for minitest's spec DSL | Mike Moore | 2012-09-24 | 1 | -0/+3 |
|/ | |||||
* | 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. |