-
Notifications
You must be signed in to change notification settings - Fork 64
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
should_belong_to generates DEPRECATION WARNING (Rails 3.1) #26
Comments
Hi, if you use: gem 'shoulda', '>= 3.0.0.beta', the deprecation error goes away. |
+1 for this problem. It's really hard to read rspec output. |
+1 |
This bug was already fixed and is on master. You still have the problem because the gem wasnt been regenerated since version 4.0.0.alpha4. Try to download the version from this repo and use it instead of the one from rubygems. |
Remarkable does not work with Rails 3.2 because of this issue. Can we get a release of the change to |
+1 |
2 similar comments
+1 |
+1 |
should_belong_to :whatever
in a spec for a Rails 3.1 app, causes this warning:
DEPRECATION WARNING: primary_key_name is deprecated and will be removed from Rails 3.2 (use foreign_key instead). (called from reflection_foreign_key at .../gems/remarkable_activerecord-4.0.0.alpha4/lib/remarkable/active_record/matchers/association_matcher.rb:97)
Thanks!
The text was updated successfully, but these errors were encountered: