Displaying 10 results from an estimated 10 matches for "depot_production".
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
2006 Apr 11
0
Problem using generate/scaffold and FireRuby
...my
config file :
> common: &common
> adapter: firebird
> 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_t...
2005 Dec 02
3
yaml Error When Trying to Generate Scaffold
...ed 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 Monitor:
grant all on depot_development.* to ''untz''@''localhost'' identified by
''paintball...
2006 Jan 14
1
(ActiveRecord::AdapterNotSpecified) Error
...ml 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
...led 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 22
2
a newbie doomed in the first introduction to rails.
...nd
# 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
====================================================
Rendering d:/apps/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib...
2006 Jan 26
42
ruby script/generate scaffold Product Admin hangs
...e 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 gem?
thank you for your help,
anne