@sgrif Where can I find a list of symbols to pass to ActiveRecord::Base.attribute to specify the type? Thanks! #confused #documentation
-
-
Replying to @ravinggenius
Working on improving documentation in that area but https://github.com/rails/rails/blob/master/activemodel/lib/active_model/type.rb#L46-L57 … are the primitives
1 reply 0 retweets 0 likes -
Replying to @sgrif
Perfect! That's exactly what I was looking for! Thanks for exposing the attributes API: now I don't feel so dirty using it. :)
3 replies 0 retweets 0 likes
Replying to @ravinggenius
And basically always wasn't comfortable with any implementation where https://github.com/rails/rails/blob/master/activerecord/lib/active_record/model_schema.rb#L371-L380 … wasn't how we inferred schema
10:55 AM - 31 Aug 2016
from Ottawa - Gatineau
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.