search for: packs_id_seq

Displaying 1 result from an estimated 1 matches for "packs_id_seq".

2011 Sep 18
9
Rails 3 and postgresql
...very, very simple database: one main table packs with just three rows Column | Type | Modifiers --------+-----------------------------+---------------------------------------------------- id | integer | not null default nextval(''packs_id_seq''::regclass) nombre | character varying(40) | path | character varying(250) | in a method I have : id = params[:album].to_i @album = Pack.find id That is the sentence located using debugger. The answer in the browser: ActiveRecord::StatementInvalid in FotosContro...