Roderick Monje

Results 16 comments of Roderick Monje
trafficstars

Here's a hacky work-around (since we couldn't work out where the UUID assignment was happening in the library's metaprogrammed magic). In lib/ext/active_record.rb: ``` ruby # For details on extending ActiveRecord...

Have you tried SecureRandom.uuid?

Rails 4 now has native UUID support for Postgres. See http://labria.github.io/2013/04/27/rails-4-uuid-primary-keys-with-postgresql/.

I'm seeing the same thing and it's because of https://github.com/jashmenn/activeuuid/blob/master/lib/activeuuid/uuid.rb#L20-L22. No idea why this was desired though.

Note that finding by that string does work however: User.find(User.first.id.hexdigest)

Yes, this was definitely a key insight for me. Thanks!

+1 on your short and sweet suggestion. It's succinct and avoids having to find synonyms like "forum" or "platform", which are so overused as to have become meaningless. Just fix...

Sounds great to me! This would open the door to translations for other languages as well.

Happy to help Jamie, but I only know English and Spanish. Which languages were you thinking? [mobile] Let us help you create complete iOS & web solutions for today's post-PC...