Displaying 3 results from an estimated 3 matches for "0;1mrollback".
2007 Mar 24
0
Testing Single Table Inheritance
...fixtures file.
one:
id: 1
type: Node
name: Node1
.. etc, 2 fixtures for each class (8 in total)
When i run the default test (check 2 records loaded from fixtures) it
fails. It founds 8 nodes(Failed), 4 project(Failed), 2 task(OK) and 2
milestones(OK). From the rails test server:
[4;35;1mSQL(0.000000)[0m[0mBEGIN[0m
[4;36;1mNode Load(0.000000)[0m[0;1mSELECT * FROM nodes[0m
[4;35;1mNode Columns(0.000000)[0m[0mSHOW FIELDS FROM nodes[0m
[4;36;1mSQL (0.000000)[0m[0;1mROLLBACK[0m
[4;35;1mSQL (0.000000)[0m[0mBEGIN[0m
[4;36;1mProject Columns(0.000000)[0m[0;1mSHOW FIELDS FROM nodes[0m
[4;35;1mPro...
2006 Aug 24
5
[0.10.0 - acts_as_ferret] Problem while saving new items
...y search to my Person
model:
class Person < ActiveRecord::Base
validates_presence_of :name, :surname
acts_as_ferret :fields => [ ''name'', ''surname'' ]
...
But when I try to save a new Person instance I get this error:
ferret_create/update: Person : 20
creating doc for class: Person, id: 20
Adding field name with value ''Paul'' to index
Adding field surname with value ''Smith'' to index
[4;36;1mSQL (0.000755) [0;1mROLLBACK
NoMethodError (You have a nil object when you didn''t expect it!
The error occu...
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
Hello,
I am building an Rails applications that has to integrate an legacy
system (lxoffice) (schema at:
http://www.lx-office.org/uploads/media/DB_Schema_2.1.1_R_393_17_03_2005_.pdf).
They somehow use global ids (global for some tables). I can not change
the schema and still I want to use Rails to access it and not pure SQL.
When I try to insert a record I get the following message:
ActiveRecord::StatementInvalid: RuntimeError: ERROR C42P01
Mrelation "p...