search for: c42601

Displaying 5 results from an estimated 5 matches for "c42601".

Did you mean: 542601
2006 Jan 19
3
Migrating from Mysql to PostgreSQL
...:default => "", :null => false t.column "profile_id", :integer, :limit => 6, :default => 0, :null => false end The first table lived in PostgreSQL immediately, but the second one failed to rebuild. The error message is: rake aborted! RuntimeError: ERROR C42601 Msyntax error at or near "(" P157 Fscan.l L761 Ryyerror: CREATE TABLE quotes ("id" serial primary key, "date" date NOT NULL, "open" float(10), "high" float(10), "low" float(10), "close" float(10), "volume&quot...
2006 Feb 03
4
contoller code mysteries
...st_name = params[:client][:first_name] if first_name searchstring = ''["first_name = :first_name", {:first_name => first_name}]'' end @myclients = Client.find(:all, :conditions => searchstring) end it results in error... RuntimeError: ERROR C42601 Msyntax error at or near "[" P30 Fscan.l L573 Ryyerror: SELECT * FROM clients WHERE (["first_name = :first_name", {:first_name => first_name}]) Why or more specifically, how do I accomplish this since I want to test each field from the search form for presence of fi...
2006 Feb 17
4
Need Help with Globalize Plugin
...=> ''One'') Locale.set(''es-ES'') trial = Trial.find(1) trial.name = ''Uno'' if trial.save render_text("#{trial.name") end end end When running the app I get this error: RuntimeError: ERROR C42601 Msyntax error at or near "WHERE" P20 Fscan.l L639 Ryyerror: UPDATE trials SET WHERE id = 1 Looking at it closely, it seems that on the intiall save on the database, no data is being saved on the globalize_translation table so when I try to update the data from my trials table no valu...
2007 Dec 14
0
"Multiple default values" with Rails migration
...column :userval, :integer, :limit => 1, :null=> false #will use smallint becuase of plug-in end end def self.down drop_table :users end end == CreateUsers: migrating ================================================ -- create_table(:users) rake aborted! RuntimeError: ERROR C42601 Mmultiple default values specified for column "id" of table "users" Fanalyze.c L1216 RtransformColumnDefinition: CREATE TABLE users ("id" serial primary key DEFAULT NULL, "user_id" integer DEFAULT NULL, "timestamp" integer DEFAULT NULL,...
2006 Feb 07
11
breaking down a list view
I''m trying to figure out how to change the order of a list view and it''s obvious to me that I don''t understand what I get from a simple scaffold to know enough to alter it. If someone would be so kind to tell me what this means ... def list @placment_pages, @placements = paginate :placements, :per_page => 10 end @placement_pages, # I am guessing that this