Sha256: 02493f1cf7bdf0168193b1721de2563954a35624924d24b4faf0623f66227fb9

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

ActiveRecord::Base.establish_connection({
  :adapter => 'sqlite3',
  :database => ":memory:"
})
ActiveRecord::Migrator.up(File.join(File.dirname(__FILE__), '..', 'db', 'migrate'))

class Item < ActiveRecord::Base
  scope :reverse_sort, order("dummy DESC")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_paginate-0.0.1 spec/support/10_activerecord.rb