Sha256: 99fc1dcc7c24e55dc7008ab96a0ed731d17285901aca02016c83c1e8b7d29d91

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

module StaticRecord
  module ActiveRecord
    # Stubbing out ActiveRecord methods so that associations work

    def new_record?
      false
    end

    def destroyed?
      false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_static_record-0.2.1 lib/static_record/active_record.rb
rails_static_record-0.2.0 lib/static_record/active_record.rb
rails_static_record-0.1.1 lib/static_record/active_record.rb
rails_static_record-0.1.0 lib/static_record/active_record.rb