Your Class:
class YourClass < ActiveRecord::Base
attr_accessor :some_date
columns_hash["some_date"] = ActiveRecord::ConnectionAdapters::Column.new("some_date", nil, "date")
end
Your View:
<%= form_for :your_class do |f| %>
<%= f.date_select :some_date %>
<%= f.submit %>
<% end %>
Your Controller:
@your_class.attributes = params[:your_class]
I had change the last parameter to Column.new to ActiveRecord::Type::Date.new to get this working in Rails 4.2.