float doesn't work in sexy_migrations
-
Chris Wanstrath
- State changed from new to open
- Assigned user set to Chris Wanstrath
-
Stephen Touset
I fixed it by (slightly) modifying simplified_type. The second parameter is set to 0, rather than false. This doesn't appear to break anything else, on the surface, but test it thoroughly.
def simplified_type(type)
ActiveRecord::ConnectionAdapters::Column.new(
:type_check, 0, type.to_s
).type
end
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.