These are chat archives for rails-sqlserver/activerecord-sqlserver-adapter

16th
Feb 2015
Ken Collins
@metaskills
Feb 16 2015 00:06
@sgrif I looked over those API docs, real clean man.
Sean Griffin
@sgrif
Feb 16 2015 00:07
Thanks. Unfortunately it looks like we're going to be shipping something a bit more convoluted
Ken Collins
@metaskills
Feb 16 2015 00:08
What is the timeline for 5.0?
Sean Griffin
@sgrif
Feb 16 2015 00:08
# config/initializers/whatever.rb
ActiveRecord::Type.register(:money, MyMoneyType)

# your model
attribute :price, :money, conversion_rates

# this still works though (don't tell David)
attribute :price, MyMoneyType.new(conversion_rates)
Fall
Ken Collins
@metaskills
Feb 16 2015 00:08
LOL
I’m gonna put some work into my named_seeds gem and a talk I hope to do for RailsConf next year. Gonna try it out in DC next month.
Sean Griffin
@sgrif
Feb 16 2015 00:12
Nice!