Check out the new helper from database_validations gem 
<https://github.com/toptal/database_validations> called `db_belongs_to`. 
There is an article about it on reddit. 
<https://www.reddit.com/r/rubyonrails/comments/a1t11j/enhance_your_belongs_to_to_be_two_times_faster/>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/f72573e2-c89a-47df-a4ff-69bca36b19ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to