Custom ID ActiveAdmin

Question

Good night people,

I'm using rails with a ready-made database running in another (remote) application, but in the ActiveAdmin gem at the time of listing, for example, clients, as the client has relationship in a transaction, gem automatically fetches the Transaction by the standard already defined by the rails (id), but the field name is with a different field primary key (Transaction_Number).

this error

I would like you to help me!


Show source
| ruby   | rubygems   | ruby-on-rails   2016-12-31 00:12 0 Answers

Answers to Custom ID ActiveAdmin ( 0 )

Leave a reply to - Custom ID ActiveAdmin

◀ Go back