Closed jjb closed 12 years ago
We can't pull this, we need client_id
to be writable. It's not mass-assignable, though.
attr_readonly
prevents an attribute from being changed after the model has been saved to the DB.
Do you ever need to change it after it has been saved to the DB?
We do need control over it for our own clients -- we use a fixed ID for our own apps across development, staging and production and so we don't want to keep the randomly generated ID after creating records in each DB.
whadya think?
p.s. this is based on the spec_tweaks branch that i just pushed to you