Model and Active Record with private properties. |
Hi there,
I am developing a model to insert a record in the database. I am using private property and see that the "insert" the object "db" generates the error "You must use the" set "method to update an entry". My question is: I can not use private property and protected in my model? Only public? Thanks! Rafael Wendel Pinheiro Capivari/BR; |
Messages In This Thread |
Model and Active Record with private properties. - by rafaelwendel - 04-27-2015, 05:26 PM
RE: Model and Active Record with private properties. - by Avenirer - 04-27-2015, 11:22 PM
RE: Model and Active Record with private properties. - by mwhitney - 04-28-2015, 09:24 AM
RE: Model and Active Record with private properties. - by rafaelwendel - 04-28-2015, 03:08 PM
RE: Model and Active Record with private properties. - by mwhitney - 04-29-2015, 11:13 AM
|