Replacing
@db.fetch
for
@Album.dataset._fetch
doesn't help.
On Tuesday, March 22, 2016 at 2:39:55 PM UTC+3, Alexander Popov wrote:
>
> @db.fetch = {:id=>1, :name=>'Al'}
> # ...
> @Album.where({:name=>"Al2"}) # => #<Sequel::Mock::Dataset: "SELECT * FROM
> albums WHERE (name = 'Al2')">
> @Album.where({:name=>"Al2"}).all # => [#< @values={:id=>1, :name=>"Al"}>]
> @Album.where({:name=>"Al2"}).first # => #< @values={:id=>1, :name=>"Al"}>
>
> Why?
>
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.