Skip to content

Releases: esbanarango/acts_as_inheritable

0.7.0 V

29 Dec 17:45
Compare
Choose a tag to compare

method_to_update instead of use_update.

0.6.0 V

29 Dec 17:21
Compare
Choose a tag to compare

use_update option for inherit_attributes.

0.5.0 V

16 Dec 14:51
Compare
Choose a tag to compare

Fix #2.

0.4.0 V

27 Oct 00:44
Compare
Choose a tag to compare

Check for blank? instead of empty? on options.

0.3.0 V

27 Oct 00:32
Compare
Choose a tag to compare

Fix issue where associations OR attributes may be nil.

0.1.0V

27 Oct 00:07
Compare
Choose a tag to compare

Cleaner way to use acts_as_inheritable.

class Person < ActiveRecord::Base

  acts_as_inheritable attributes: %w(favorite_color last_name soccer_team),
                      associations: %w(shoes pictures clan)
end

instead of

class Person < ActiveRecord::Base
  acts_as_inheritable

  # Constants
  INHERITABLE_ATTRIBUTES = %w(favorite_color last_name soccer_team)
  INHERITABLE_ASSOCIATIONS = %w(shoes pictures clan)
end

First version

21 Oct 12:45
Compare
Choose a tag to compare
0.0.1

Gem badge.