Monday, March 4, 2013

Rails - update attr_readonly field from sql

The easiest way to update field with attr_readonly is to update by
database sql.

$> psql -d xxx -U xxx
xxx> update ... set ... where ...

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.