amistad
amistad copied to clipboard
Deprecated options in has_many
I'm getting the following warning in my application:
DEPRECATION WARNING: The following options in your User.has_many :pending_invited declaration are deprecated: :conditions. Please use a scope block instead. For example, the following:
has_many :spam_comments, conditions: { spam: true }, class_name: 'Comment'
me too. any fix or workaround?
i've create my own fork that address Rails 4 deprecations.
gem 'amistad', github: 'blotto/amistad
https://github.com/blotto/amistad
great! thanks!
@blotto, thank you for your fork :) Just to know, does your new branch (group_friends) will be merged or is still usable?
hey @ghigt , that branch is a scratchpad, not worth merging any time soon :)