Could you show some code? How's your model declared and how are you
instantiating a new object and then saving it?
On Jun 14, 2013 8:31 AM, "Charles Monteiro" <charles.monte...@gmail.com>
wrote:

> its odd, I have turned on errors and I get the following:
>
> DataMapper::SaveFailureError: Project#save returned false, Project was not
> saved
>
> not telling me much.
>
> I check the error hash and that's empty.
>
> How does a newbie understand what dependencies etc I'm not fulfilling in
> the creation of an object.
>
> BTW, in case it matters I'm creating an object just by new and then
> sending save. This object does have associations so I'm assuming that's
> where the issue but I really would like to know what Datamapper thinks is
> the problem. Currently, I'm confused as to why its not saving.
>
> Any feedback is appreciated.
>
> thanks
>
> -Charles
>
> --
> You received this message because you are subscribed to the Google Groups
> "DataMapper" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to datamapper+unsubscr...@googlegroups.com.
> To post to this group, send email to datamapper@googlegroups.com.
> Visit this group at http://groups.google.com/group/datamapper.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datamapper+unsubscr...@googlegroups.com.
To post to this group, send email to datamapper@googlegroups.com.
Visit this group at http://groups.google.com/group/datamapper.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to