When I use seems_rateable in my model and run rails c command and try to manipulated this model, a warning appears. I'm using rails 4 e ruby 2.
DEPRECATION WARNING: The following options in your Question.has_many :rates_without_dimension
declaration are deprecated: :conditions. Please use a scope block instead. For example, the following:
has_many :spam_comments, conditions: { spam: true }, class_name: 'Comment'
When I use
seems_rateable
in my model and runrails c
command and try to manipulated this model, a warning appears. I'm using rails 4 e ruby 2.