create.sql (saved in /db)
drop table if exists products;
    create table products (
    id int not null auto_increment,
    title varchar(100) not null,
    description text not null,
    image_url varchar(200) not null,
    price decimal(10, 2) not null,
    primary key (id)
    );


Database configuration file:
         development:
  adapter: mysql
  database: depot_development
  host: localhost
  username:
  password:

test:
  adapter: mysql
  database: depot_test
  host: localhost
  username:
  password:

production:
  adapter: mysql
  database: depot_production
  host: localhost
  username:
  password:

and then if i execute ruby script/server coomand then:
 it shows:

Routing Error

No route matches "/admin" with {:method=>:get}






-- 
Irfan Ahmed Rizvi
http://www.creativemake.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to