search for: createpeopl

Displaying 3 results from an estimated 3 matches for "createpeopl".

Did you mean: createpeople
2006 Jul 05
5
Help with migrations and create
After creating a table in a create table migration, I''m then attempting to populate a couple of rows of data in the table using the create method. The first row gets inserted into the database, but any further calls generate a select against the database, but no insert. Am I doing something wrong, or is it inappropriate to create more than a single row of data in a table using
2007 Dec 21
0
db:migrate problem
...e-runnable, and it works no matter how many times I do it in a row. Within the cc rails app, however, I get a build failed message that one of my migrations is broken. Specifically, it says there''s no index on "people:login" My migrations are as follows: 002_add_people: class CreatePeople < ActiveRecord::Migration def self.up create_table :people, :force => true do |t| t.string :login t.string :email t.string :crypted_password, :limit => 40 t.string :salt, :limit => 40 t.timestamps t.string :re...
2008 Apr 30
4
Beginner mysql problem
I am new to rails and have come across a problem with a sample application I was working on. When trying to use rake migrate I got the error listed below. my db file contains the following class ContactDb < ActiveRecord::Migration def self.up create_table "people" do |t| t.column "id", :integer t.column "name",