1. 11 9月, 2012 1 次提交
  2. 09 9月, 2012 1 次提交
  3. 08 9月, 2012 1 次提交
    • G
      Add a separation option for the excerpt function · 963c50ec
      Guirec Corbel 提交于
      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.
      963c50ec
  4. 06 9月, 2012 1 次提交
  5. 30 8月, 2012 4 次提交
  6. 28 8月, 2012 7 次提交
    • P
      Fix ActionView::RecordIdentifier to work as a singleton · f4d493ed
      Piotr Sarnacki 提交于
      We extend it with self, but the methods were not working properly were
      used directly on module.
      f4d493ed
    • P
      Deprecate Template#mime_type · 582a7f45
      Piotr Sarnacki 提交于
      582a7f45
    • P
      Don't require action_dispatch in ActionView::UrlHelpers · dc663dd5
      Piotr Sarnacki 提交于
      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.
      dc663dd5
    • P
      Add ActionView::Base.default_formats · 45efb665
      Piotr Sarnacki 提交于
      default_formats array is used by LookupContext in order to allow
      rendering templates when :formats option is not passed. Previously it
      was always set to Mime::SET, which created dependency on Action Pack. In
      order to remove this dependency, Mime::SET is used only if
      ActionController is loaded.
      45efb665
    • P
      Deprecate mime types lookup in auto_discovery_link_tag · 7abc0c73
      Piotr Sarnacki 提交于
      Automatically handling mime types for things other than :rss and :atom
      is not functionality that justifies dependency on Mime::Type from
      actionpack.
      7abc0c73
    • P
      Remove stubs from LogSubscriber tests · 731bb2fe
      Piotr Sarnacki 提交于
      We can use another way to instantiate ActionView::Base, by passing
      renderer as a first option. Thanks to that we can just pass prefixes to
      LookupContext instead stubbing them on the controller. This is also good,
      because that kind of API is used in Rails code.
      731bb2fe
    • P
      Move ActionController::RecordIdentifier to ActionView · 26462404
      Piotr Sarnacki 提交于
      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.
      26462404
  7. 26 8月, 2012 2 次提交
  8. 22 8月, 2012 1 次提交
  9. 14 8月, 2012 2 次提交
  10. 12 8月, 2012 2 次提交
  11. 11 8月, 2012 1 次提交
    • S
      check for nil or empty record in form_for · 60b650b1
      schneems 提交于
      if nil or an empty array is passed into form_for you get a horrible error message, this one is much more indicative of what the programmer needs to know to fix the problem.
      60b650b1
  12. 10 8月, 2012 1 次提交
  13. 09 8月, 2012 1 次提交
  14. 08 8月, 2012 2 次提交
  15. 07 8月, 2012 2 次提交
  16. 06 8月, 2012 2 次提交
  17. 03 8月, 2012 3 次提交
  18. 01 8月, 2012 1 次提交
  19. 25 7月, 2012 1 次提交
  20. 23 7月, 2012 1 次提交
  21. 22 7月, 2012 3 次提交