I'm trying to track down a problem I have with a resource in 0.10.1
that is failing to be saved despite passing its validations.

Updating the resource leads to the invocation of
DataMapper::Repository#update, which is defined in dm-core/
repository.rb. This method calls 'update' on a
DataMapper::Adapters::MysqlAdapter object, which is subclassed in dm-
core/adapters/mysql_adapter.rb from
DataMapper::Adapters::DataObjectsAdapter.

That class is defined in dm-core/adapters/data_objects_adapter.rb and
and its 'update' method calls 'execute' which creates a
DataObjects::Mysql::Command object and calls 'execute_non_query' on
it.

However, I'm having difficulty figuring out where that class and its
'execute_non_query method' is defined. grep only turns up
DataObjects::Command#execute_non_query, but that isn't what is being
called.

Can someone point me in the right direction?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to datamapper@googlegroups.com
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to