Suppress SELECT after INSERT

Hi,

is there a way to suppress ActiveRecords reload after I saved an record?

Regards
Florian

Hi Florian, can you clarify what’s happening and what you’re trying to do?

Thanks,

-Conrad

Hi Conrad,

actually it's an select before create that's done when I associate a
record with another one through a has_one :relation.

host.client = Client.factory(a_hash)

queries clients for host_id of host and then inserts the data. I now
understood the problem and solved it.

thanks anyways :slight_smile:

Regards
Florian