search for: depot_test

Displaying 13 results from an estimated 13 matches for "depot_test".

2006 Mar 30
13
Trying Agile book, found problem
Pg. 57 of Agile asks you to create a scaffolding by typing in ruby script/generate scaffold Product Admin Instead of generating everything, it only gives me exists app/controllers/ exists app/helpers/ exists app/views/admin exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ identical
2005 Dec 02
3
yaml Error When Trying to Generate Scaffold
...rname: untz password: paintball # Warning: The database defined as ''test'' will be erased and # re-generated from your development database when you run ''rake''. # Do not set this db to the same as development or production. test: adapter: mysql database: depot_test socket: /tmp/mysql.sock username: untz password: paintball production: adapter: mysql database: depot_production socket: /tmp/mysql.sock username: untz password: paintball When I created these tables using MySQL 5, I issued the following in the MySQL Command Line Mon...
2006 Mar 02
17
can''t get rails to connect to mySQL - HELP!!!!!!!!!
Sorry, but this is really NOT as easy as the tutorials/books make out. I''m really struggling at the first hurdle here. And while I''m not a programmer by design I do know my way around most stuff. And if I can''t get this to work I suspect more people will have the same issues. There seems to be too many variables to address. I have winXP, I have ruby and rails all
2006 Apr 11
0
Problem using generate/scaffold and FireRuby
...host: localhost > username: SYSDBA > password: masterkey > charset: WIN1252 > > development: > database: depot_development > <<: *common > > production: > database: depot_production > <<: *common > > test: > database: depot_test > <<: *common > > and my firebird''s aliases.conf > > depot_development = C:\Sistemas\Ruby\db\depot_development.fdb > depot_production = C:\Sistemas\Ruby\db\depot_production.fdb > depot_test = C:\Sistemas\Ruby\db\depot_test.fdb > Running on WinXP...
2006 Jan 14
1
(ActiveRecord::AdapterNotSpecified) Error
...atabase is not configured (ActiveRecord::AdapterNotSpecified) I am using the following database.yml file (passwords replaced with *): development: adapter: mysql host: localhost database: depot_development username: root password: ******** test: adapter: mysql host: localhost database: depot_test username: root password: **** production: adapter: mysql host: localhost database: depot_production username: root password: ***** Please help!!! Thanks
2007 Oct 06
6
Instant Rails mySQL Error
I have tried everything in my power to get this program up and running and it is not working for me. I have installed RoR on my Windows XP machine. I have Instant Rails and Ruby on Rails and I am using Instant Rails to connect the mySQL database to Ruby on Rails. It is not working. Everything works fine except when I create a scaffold it gives me an error in mySQL. The error reads, ">
2006 May 06
4
Scaffold Uses Wrong Host for MySQL user
I''m following the example Depot app in Agile Web Development with Rails. The scaffold fails because it is not using the correct host for the user. Here is the error that the scaffold emits: Access denied for user ''jimmy''@''%'' to database ''depot_development'' The MySql user ''jimmy'' was created with the host of
2006 Feb 20
18
Win XP/ Mysql Problem
...b le for your model (Product) For the life of me I cannot figure out the problem. I''ve reinstalled a million times. My config file is as followed. development: adapter: mysql database: depot_dev username: root password: admin host: localhost test: adapter: mysql database: depot_test username: root password:admin host: localhost production: adapter: mysql database: depot_production username: root password: admin host: localhost Thanks for any help. I''m excited to actually get rails working. -- Posted via http://www.ruby-forum.com/.
2006 Jan 18
5
access denied problem
Hello I''ve started working through the book "Agile web development with Rails" and so far everything has been great. I''m on page 56, 57 trying to create the admin tool for the example project "Depot". I''m on OS X Panther 10.3.9. I have checked the Errata on the website and tried some of the suggestions there, but nothing has worked. When I
2006 Jan 06
8
Rails Troubles
Greetings: I have been attempting to get rails + mysql working for me literally all day. I am on a Windows XP SP2 machine using the latest one-click installer for ruby and gem for rails. What am I missing here? The rails and mysql db do not want to talk to each other properly. I tried to do a gem install mysql to get the latest mysql and that always crashes because it seems to be
2007 Nov 22
11
Initial run of RSpec 1.0.8 on MS-WinXPproSP2
..."rake spec spec" task on an initial trial of rspec. After creating the rails app I installed rspec and rspec_on_rails in the vendor\plugins subdirectory from svn. I then used ruby script\generate rspec_model product. I next manually created the database instances depot_development and depot_test via pgAdmin III. I then confirmed rails configuration connectivity by running rake db:migrate from the app root. When I run rake spec spec\models for the first time, without modifying the product_rspec.rb file, I get this: C:\Documents and Settings\byrnejb\My Documents\ My Projects\ca.harte-l...
2006 Jan 22
2
a newbie doomed in the first introduction to rails.
...stead. host: localhost #port: 3306 # Warning: The database defined as ''test'' will be erased and # re-generated from your development database when you run ''rake''. # Do not set this db to the same as development or production. test: adapter: mysql database: depot_test username: password: # socket: /path/to/your/mysql.sock production: adapter: mysql database: depot_production username: password: # socket: /path/to/your/mysql.sock ========================================== Below the error message in log/development in rails depot application...
2006 Jan 26
42
ruby script/generate scaffold Product Admin hangs
...t;config" folder inside your Rails app? If you have any > passwords entered there, you should change them to > nonsense before sending. development: adapter: mysql database: depot_development host: localhost username: root password: $564^%# test: adapter: mysql database: depot_test host: localhost username: root password: 0#@^463 production: adapter: mysql database: depot_production host: localhost username: prod password: wibble Is there a way to check that I have indeed all the pieces fixed that need to be fixed? the #46 fix, or how do I test this mysql ge...