Created
March 17, 2012 17:48
-
-
Save joemsak/2063416 to your computer and use it in GitHub Desktop.
Spec No-Rails: RefineryCMS Engine Helper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_record' | |
require 'friendly_id' | |
db = YAML.load(File.open('config/database.yml')) | |
ActiveRecord::Base.establish_connection(db['test']) | |
module Refinery | |
module Core | |
class BaseModel < ActiveRecord::Base | |
self.abstract_class = true | |
end | |
end | |
end | |
def acts_as_indexed(*args) | |
end | |
def acts_as_taggable(*args) | |
end | |
def translates(*args) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment