Mongoid, set_table_name & attr_accessible
I am using rails3 edge and mongoid 2beta6 with ruby 1.9.2-head.
How can I manually change the table name like set_table_name for ActiveRecord? For example, my Registration model should use the "users" table for storage, not "signups".
Another question is how to implement bevahior attr_accessible AR?
Thanks, Corinne
+2
a source to share
3 answers
The link mentioned by Dan Healy has been changed to http://mongoid.org/en/mongoid/docs/documents.html .
0
a source to share