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

AR deprecation #28

Open
rossmeissl opened this issue Jul 5, 2013 · 0 comments
Open

AR deprecation #28

rossmeissl opened this issue Jul 5, 2013 · 0 comments
Assignees

Comments

@rossmeissl
Copy link
Collaborator

DEPRECATION WARNING: The following options in your DataMiner::Run.has_many :column_statistics declaration are deprecated: :order. Please use a scope block instead. For example, the following:

has_many :spam_comments, conditions: { spam: true }, class_name: 'Comment'

should be rewritten as the following:

has_many :spam_comments, -> { where spam: true }, class_name: 'Comment'

. (called from class:Run at /Users/andy/.rvm/gems/ruby-2.0.0-p195/bundler/gems/data_miner-0c1a5df39c07/lib/data_miner/run.rb:69)

@ghost ghost assigned seamusabshere Jul 5, 2013
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

2 participants