Module: RailsForceReload::Reader
- Defined in:
- lib/rails-force-reload/rails-force-reload.rb
Instance Method Summary collapse
Instance Method Details
#reader(force_reload = false) ⇒ Object
20 21 22 23 |
# File 'lib/rails-force-reload/rails-force-reload.rb', line 20 def reader(force_reload = false) klass.uncached { reload } if force_reload && klass super() end |