@sgrif Where can I find a list of symbols to pass to ActiveRecord::Base.attribute to specify the type? Thanks! #confused #documentation
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
-
-
Perfect! That's exactly what I was looking for! Thanks for exposing the attributes API: now I don't feel so dirty using it. :)
-
It was always meant to be public API eventually. Implementation wasn't finished in 4.2. Too many pitfalls to make public
- 14 more replies
New conversation -
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.