Hi,
since I updated my version of rails_admin (I haven't updated in about 2 months) and started applying some control against mass-assignment, I am having trouble displaying nested fields in the Rails Admin interface.
I am using Rails 3.1.1 (ruby 1.9.3), and I have the following scenario:
Model 1: Trip
has_many :transports, :dependent => :destroy
attr_accessible :trip_name, :transports_attributes
accepts_nested_attributes_for :transports, :allow_destroy => true
Model 2: Transport
belongs_to :trip
attr_accessible :transport_mode, :departure_date, :arrival_date
When I browse the Admin interface, navigate to Trips and click on "Add new Trip", I get to fill in all details for the trip, but when I click on the "Add a new Transport" button, I can only see a new tab saying "Transport (new)". It actually does not show me any fields for that new Transport item.
Any advice?
Thanks in advance,
Michael