Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated options in has_many #43

Open
mdesanti opened this issue Oct 24, 2013 · 5 comments
Open

Deprecated options in has_many #43

mdesanti opened this issue Oct 24, 2013 · 5 comments

Comments

@mdesanti
Copy link

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'
@akisvolanis
Copy link

me too. any fix or workaround?

@blotto
Copy link

blotto commented Jan 28, 2014

i've create my own fork that address Rails 4 deprecations.

gem 'amistad', github: 'blotto/amistad

https://github.com/blotto/amistad

@akisvolanis
Copy link

great! thanks!

@ghigt
Copy link

ghigt commented Apr 17, 2014

@blotto, thank you for your fork :)
Just to know, does your new branch (group_friends) will be merged or is still usable?

@blotto
Copy link

blotto commented Apr 17, 2014

hey @ghigt , that branch is a scratchpad, not worth merging any time soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants