All Versions
62
Latest Version
Avg Release Cycle
101 days
Latest Release
318 days ago

Changelog History
Page 5

  • v1.6.3 Changes

    March 25, 2011
  • v1.6.2 Changes

    March 18, 2011
  • v1.6.1 Changes

    March 15, 2011
    • ๐Ÿ— Use Item.new instead of build_item for singleton resource so it doesn't effect database - see issue #304.

    • ๐Ÿ‘€ Made accessible_by action default to :index and parent action default to :show instead of :read - see issue #302.

    • ๐Ÿ‘€ Reverted Inherited Resources "collection" override since it doesn't seem to be working - see issue #305.

    • ๐Ÿ‘€ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.6.0...1.6.1].

  • v1.6.0 Changes

    March 11, 2011
    • โž• Added MetaWhere support - see issue #194 and #261.

    • ๐Ÿ‘ Allow Active Record scopes in Ability conditions - see issue #257.

    • โž• Added :if and :unless options to check_authorization - see issue #284.

    • ๐Ÿ›  Several Inherited Resources fixes (aq1018, tanordheim and stefanoverna).

    • Pass action name to accessible_by call when loading a collection ([@amw][]).

    • Added :prepend option to load_and_authorize_resource to load before other filters - see issue #290.

    • ๐Ÿ›  Fixed spacing issue in I18n message for multi-word model names - see issue #292.

    • ๐Ÿ‘€ Load resource collection for any action which doesn't have an "id" parameter - see issue #296.

    • ๐Ÿ‘€ Raise an exception when trying to make a Ability condition with both a hash of conditions and a block - see issue #269.

    • ๐Ÿ‘€ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.5.1...1.6.0].

  • v1.5.1 Changes

    January 20, 2011
  • v1.5.0 Changes

    January 11, 2011
    • โž• Added an Ability generator - see issue #170.

    • โž• Added DataMapper support ([@natemueller][]).

    • โž• Added Mongoid support ([@bowsersenior][]).

    • Added skip_load_and_authorize_resource methods to controller class - see issue #164.

    • โž• Added support for uncountable resources in index action - see issue #193.

    • Cleaned up README and added spec/README.

    • Internal: renamed CanDefinition to Rule.

    • ๐Ÿ‘ Internal: added a model adapter layer for easily supporting more ORMs.

    • ๐Ÿ‘€ Internal: added .rvmrc to auto-switch to 1.8.7 with gemset - see issue #231.

    • ๐Ÿ‘€ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.4.1...1.5.0].

  • v1.4.1 Changes

    November 12, 2010
    • Renaming skip_authorization to skip_authorization_check - see issue #169.

    • Adding :through_association option to load_resource ([@hunterae][]) - see issue #171.

    • ๐Ÿ‘€ The :shallow option now works with the :singleton option ([@nandalopes][]) - see issue #187.

    • ๐Ÿ‘€ Play nicely with quick_scopes gem ([@ramontayag][]) - see issue #183.

    • ๐Ÿ›  Fix odd behavior when "cache_classes = false" ([@mphalliday][]) - see issue #174.

    • ๐Ÿ‘€ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.4.0...1.4.1].

  • v1.4.0 Changes

    October 05, 2010
    • โž• Adding Gemfile; to get specs running just +bundle+ and +rake+ - see issue #163.

    • ๐Ÿ‘€ Stop at 'cannot' definition when there are no conditions - see issue #161.

    • ๐Ÿ‘€ The :through option will now call a method with that name if instance variable doesn't exist - see issue #146.

    • โž• Adding :shallow option to load_resource to bring back old behavior of fetching a child without a parent.

    • Raise AccessDenied error when loading a child and parent resource isn't found.

    • ๐Ÿ‘€ Abilities defined on a module will apply to anything that includes that module - see issue #150 and #152.

    • ๐Ÿ‘€ Abilities can be defined with a string of SQL in addition to a block so accessible_by works with a block - see issue #150.

    • โž• Adding better support for InheritedResource - see issue #23.

    • ๐Ÿ‘€ Loading the collection instance variable (for index action) using accessible_by - see issue #137.

    • โž• Adding action and subject variables to I18n unauthorized message - closes #142.

    • Adding check_authorization and skip_authorization controller class methods to ensure authorization is performed ([@justinko][]) - see issue #135.

    • ๐Ÿ‘€ Setting initial attributes based on ability conditions in new/create actions - see issue #114.

    • ๐Ÿ‘€ Check parent attributes for nested association in index action - see issue #121.

    • ๐Ÿ‘Œ Supporting nesting in can? method using hash - see issue #121.

    • โž• Adding I18n support for Access Denied messages ([@EppO][]) - see issue #103.

    • ๐Ÿ‘€ Passing no arguments to +can+ definition will pass action, class, and object to block - see issue #129.

    • ๐Ÿ‘€ Don't pass action to block in +can+ definition when using :+manage+ option - see issue #129.

    • ๐Ÿ‘€ No longer calling block in +can+ definition when checking on class - see issue #116.

    • ๐Ÿ‘€ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.3.4...1.4.0].

  • v1.3.4 Changes

    August 31, 2010
  • v1.3.3 Changes

    August 20, 2010