You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have has_and_belongs_to_many relation in my models. I have relation beetween models Hotels and HotelRoomsTypes
class Hotel < ActiveRecord::Base
attr_accessible hotel_room_types_attributes
has_and_belongs_to_many :hotel_room_types,:class_name => "HotelRoomType"
accepts_nested_attributes_for :hotel_room_types, :allow_destroy => true
end
class HotelRoomType < ActiveRecord::Base
attr_accessible :name
has_and_belongs_to_many :hotels
end
when I am trying create association in rails_admin, I see following markup:
after creation, rails_admin doesn't show associations to those model. Anybody solved those problem or found patch to rails_admin?
The text was updated successfully, but these errors were encountered:
I have has_and_belongs_to_many relation in my models. I have relation beetween models Hotels and HotelRoomsTypes
when I am trying create association in rails_admin, I see following markup:
after creation, rails_admin doesn't show associations to those model. Anybody solved those problem or found patch to rails_admin?
The text was updated successfully, but these errors were encountered: