-
Notifications
You must be signed in to change notification settings - Fork 895
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
Use base class name for reification and add fractional second precision to test db #1028
Use base class name for reification and add fractional second precision to test db #1028
Conversation
andre1810
commented
Dec 21, 2017
- Use base class name for reification of associations
- Add explicit precision on datetime columns to enable fractional second precision on mysql
…d precision on mysql
…lymorphic models properly
@jaredbeck Sorry, I had to open this again due an mistake on editing the commits. |
spec/dummy_app/app/models/person.rb
Outdated
belongs_to :vehicle, class_name: "Vehicle", foreign_key: :vehicle_id, optional: true | ||
else | ||
belongs_to :vehicle, class_name: "Vehicle", foreign_key: :vehicle_id | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this association (belongs_to :vehicle
) is unused?
No worries, open as many PR as you feel like 😄 Also, check out |
OK, I'm ready to merge this. Anything else you want to do? |
No, I´m done. Thank you 👍 |
Thank you! Nice work.
The next release from the Please backport this by opening a PR against the |
Backport #1028: Use base class name for reification and add fractional second precision to test db
Released as 8.1.2 (I know I said 8.2.0, but I changed my mind; it's really more of a fix than an addition) |