Displaying 1 result from an estimated 1 matches for "balboa_park".
2007 Feb 19
0
Invalid SQL generated with PostgreSQL 8.2.3
...console:
>> show = Slideshow.find 1
=> #<Slideshow:0x7f2d7588 @attributes={"name"=>"Interesting pictures",
"id"=>"1", "created_at"=>"2007-02-17 19:41:30.703"}>
>> show.slides.first.photo.filename
=> "balboa_park.jpg"
>> show.slides.first.move_to_bottom
ActiveRecord::StatementInvalid: PGError: ERROR: argument of AND must
be type boolean, not type integer
: UPDATE slides SET position = (position - 1) WHERE (slideshow_id AND
position > 1)
from /usr/lib/ruby/gems/1.8/gems/activerecord-1....