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 <[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.
