Displaying 1 result from an estimated 1 matches for "depot_a".
Did you mean:
depot_r
2008 Jun 10
1
NameError in AdminController, uninitialized constant
Hi there basically following the "Agile Web Development With Rails, 2nd
Edition"
i followed the tutorial exaclty, worked fine, so i decided to change one
thing
on page 74 instead of:
ruby script/generate model product
i used:
ruby script/generate model propertys
and:
depot_a/db/migrate/001_create_products.rb
~/Rails/ecom/db/migrate$ cat 001_create_propertys.rb
class CreatePropertys < ActiveRecord::Migration
def self.up
create_table :propertys do |t|
t.column :title, :string
t.column :description, :text
t.column :location, :...