Looks like the model has not been recognised. What do you have in your model code?
On 7 May 2014 10:25, rastin rastini <[email protected]> wrote: > hi all > when i use Model:attributes(). or Model:id(). > then get this error: > "exception error: bad argument > in function apply/3 > called as apply([{master,"master-1",<<"my name field">>,<<"this is > address field">>, > <<"description field">>}], > id,[]) > " > my db is postgresql. > thankfull > > -- > You received this message because you are subscribed to the Google Groups > "ChicagoBoss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at http://groups.google.com/group/chicagoboss. > To view this discussion on the web visit > https://groups.google.com/d/msgid/chicagoboss/6bd1bb29-c3ad-4d1d-bed0-c5fcc4ba5f43%40googlegroups.com<https://groups.google.com/d/msgid/chicagoboss/6bd1bb29-c3ad-4d1d-bed0-c5fcc4ba5f43%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/CAKF5fiDr0b2%3DouY7sRcvrq8HuLUo1Ntbo85eiemtU8TRPPAV5Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
