Created
December 19, 2009 18:33
-
-
Save jamesgolick/260189 to your computer and use it in GitHub Desktop.
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
| 10:30 jamesgolick: right, but Friendly::UUID can't be mapped to a method | |
| 10:31 jeremyevans: jamesgolick: Nope. You can see the implemention if you want to know why | |
| 10:31 jamesgolick: yeah, i've looked... was wondering if there was something I missed | |
| 10:31 jamesgolick: ok... i guess we'll have to subclass | |
| 10:31 jeremyevans: jamesgolick: It would be possible to support column :user_id, Friendly::UUID, but not Friendly::UUID :user_id | |
| 10:32 jamesgolick: oh | |
| 10:32 jamesgolick: how do I support the former | |
| 10:33 jeremyevans: jamesgolick: Add a type_literal_generic_friendly::uuid method to the database | |
| 10:34 jamesgolick: badass | |
| 10:34 jamesgolick: we'll just have ot shift around the way we're doing things |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment