Created
May 28, 2012 21:05
-
-
Save justindthomas/2821214 to your computer and use it in GitHub Desktop.
Engine Question
This file contains hidden or 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
| Scrypto.owner_class = "Person" | |
| def scrypto_id | |
| Scrypto.owner_id = current_user.person.id | |
| end |
This file contains hidden or 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 "scrypto/engine" | |
| require "active_support/dependencies" | |
| module Scrypto | |
| mattr_accessor :app_root | |
| mattr_accessor :owner_class | |
| mattr_accessor :owner_id | |
| def self.setup | |
| yield self | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yay Ruby!!