sferik/rails_admin — Issue #1013: Date field is not saving in nested attributes
Author: rodeofly
Created: 2012-02-27 10:51:28+00:00
State: open

class Object < ActiveRecord::Base
has_many :things, :as => :thingable, :dependent => :destroy
accepts_nested_attributes_for :things
end

class Thing < ActiveRecord::Base
belongs_to :thingable, :polymorphic => true

validate _presence_of :date_of_thing
end

In Object edit ... date_of_thing won't save !
But in Thing edit it will