Sha256: 4ae4059c17cca2c09d5f0583d240b6585a16cb72266409c2dd1b3315d33a2280

Contents?: true

Size: 281 Bytes

Versions: 9

Compression:

Stored size: 281 Bytes

Contents

module NotRelational
  module ActsAsNotRelationalApplication
    def self.included(base)
      base.before_filter :prepare_repository
    end
    def prepare_repository
      puts "prepare repo"
      NotRelational::RepositoryFactory.instance.clear_session_cache
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cloudwow-not_relational-0.1.0 lib/not_relational/acts_as_not_relational_application.rb
cloudwow-not_relational-0.1.11 lib/not_relational/acts_as_not_relational_application.rb
cloudwow-not_relational-0.1.2 lib/not_relational/acts_as_not_relational_application.rb
cloudwow-not_relational-0.1.3 lib/not_relational/acts_as_not_relational_application.rb
cloudwow-not_relational-0.1.5 lib/not_relational/acts_as_not_relational_application.rb
cloudwow-not_relational-0.1.6 lib/not_relational/acts_as_not_relational_application.rb
cloudwow-not_relational-0.1.7 lib/not_relational/acts_as_not_relational_application.rb
cloudwow-not_relational-0.1.8 lib/not_relational/acts_as_not_relational_application.rb
cloudwow-not_relational-0.1.9 lib/not_relational/acts_as_not_relational_application.rb