upmin / upmin-admin-ruby

Framework for creating powerful admin backends with minimal effort in Ruby on Rails.
MIT License
757 stars 66 forks source link

Customizable model associations #157

Open tfe opened 9 years ago

tfe commented 9 years ago

Provide a way to customize which associations are displayed when showing a model.

I have just realized that I've been completely ignoring the DataMapper adapter and only modifying the ActiveRecord class. :-/

jdurand commented 9 years ago

Model.associations(*associations) conflicts with an already existing Model.associations method.

tfe commented 9 years ago

I think I renamed the original method? In any case, this is working in production for me, so something is right about it.