Sha256: d499cdfe226025e8399f03964612b5896127c03800f27912e14e0c710468f063
Contents?: true
Size: 313 Bytes
Versions: 6
Compression:
Stored size: 313 Bytes
Contents
module ActionController class Base if Rails.env.development? before_action :ez_update_tables def ez_update_tables Rails.cache.fetch('ez-generate-yml') do EZ::DomainModeler.generate_models_yml end EZ::DomainModeler.update_tables end end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
ez-1.1.0 | lib/ez/controller.rb |
ez-1.0.0 | lib/ez/controller.rb |
ez-0.9.9 | lib/ez/controller.rb |
ez-0.9.7 | lib/ez/controller.rb |
ez-0.9.6 | lib/ez/controller.rb |
ez-0.9.5 | lib/ez/controller.rb |