Sha256: cb3c3786b836ac2f4e1d9f29edc8cbf878ce90de9b0609fd82e05860e2b535f4

Contents?: true

Size: 257 Bytes

Versions: 10

Compression:

Stored size: 257 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sdb_dal-0.0.12 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.11 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.2 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.7 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.8 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.4 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.6 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.3 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.5 ./lib/sdb_dal/acts_as_sdb_application.rb
sdb_dal-0.0.9 ./lib/sdb_dal/acts_as_sdb_application.rb