Displaying 6 results from an estimated 6 matches for "damnbigman".
2007 Feb 07
2
Problems Generating Scaffolding
I am having trouble generating some of my scaffolding. I''m trying to
use PostgreSQL as my back-end. Some of my scaffolding generates with
no problem but for other parts I get this:
Before updating scaffolding from new DB schema, try creating a table
for your model
The tables do exist. At least I can see them from psql.
Here is the SQL I''m using to create my tables:
CREATE
2008 Jul 28
12
Segfault with GridCellChoiceEditor
I have a problem.
In my application I have a few Grid objects in a Notebook. The Grid objects
are populated via GridTableBase. Certain Grid cells need to have a choice
interface (I''m artificially enforcing foreign key constraints). All this
works to the point where you try to edit the value for that cell. The
choice box renders (i.e. the drop down arrow appears) then the application
2007 Feb 07
5
Problems Generating Scaffolding
I am having trouble generating some of my scaffolding. I''m trying to
use PostgreSQL as my back-end. Some of my scaffolding generates with
no problem but for other parts I get this:
Before updating scaffolding from new DB schema, try creating a table
for your model
The tables do exist. At least I can see them from psql.
Here is the SQL I''m using to create my tables:
CREATE
2008 Oct 07
6
https problems
I''m having a problem but don''t know what is causing it so I don''t know
exactly where to post, please bear with me.
I''m trying to set up https access however whenever I go to https://url_for_site
the root route renders but the url is rewritten to http://url_for_site.
The ssl request shows in the apache logs but obviously no further ssl
requests show up.
2008 Aug 20
7
:include confused by true?
I have two models:
guest
rsvp
guest belongs_to rsvp and rsvp has_one guest
When I try the following I get an error:
@coming = Guest.find(:all, :conditions => ["coming = ?",
true], :include => :rsvp)
It complains of an unknown column ''coming''
I''m sure I''m doing something stupid but I can''t see it. Any help
would be appreciated.
2007 May 01
5
duplicate key violates unique constraint
I''ve run into an interesting issue. When setting up a table with data
from a file (I''m doing this in a block). I find that I can''t create
separate entries manually after the import. It complains about a
duplicate primary key. I''ve tried Schedule.id += 1 but id= either
isn''t defined or accessible in the class
Here is my code: