If I do a query in Model, would the result be cached like it does in the controller?
model User < ActiveRecord::Base
has_many :emails, through: :memberships
If it doesn't cache the result, would changing from exists? to present? or any? make any better?
© 2016 Powered by mzan.com design MATCHINFO