I didn't realize that since I was running the method from within a
model class the context was changed, thereby not requiring me to
specify the :default repository.


On Jan 20, 1:40 pm, chris <olsen.ch...@gmail.com> wrote:
> For some reason I am getting the error "Wrong number of arguments 1
> for 0" when run the following:
>
>   repository(:default).adapter.query("select * from accounts")
>
> Any ideas what is wrong with this?
-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to datamap...@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