Sha256: f77520ba61db235d913841a0ccda1cdb2ca0ad15c136266b4ee68fd9a6f0d09e
Contents?: true
Size: 646 Bytes
Versions: 1
Compression:
Stored size: 646 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.expand_path(File.dirname(__FILE__)), "../lib")) require "rubygems" require "minitest/autorun" require "shoulda-context" require "restful_query" unless defined?(ActiveRecord) module ActiveRecord class Base class << self attr_accessor :pluralize_table_names def protected_attributes [] end def named_scope(name, options = {}) end end self.pluralize_table_names = true include RestfulQuery::CanQuery end end end class ClassWithQuery < ActiveRecord::Base can_query end class ClassWithoutQuery < ActiveRecord::Base end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restful_query-0.4.0 | test/helper.rb |