Displaying 20 results from an estimated 4000 matches similar to: "Instant Rails not finding database"
2006 Jun 14
6
Lost Connection to MySQL
Error Message: MyMysql::Error: Lost connection to MySQL server during query:
SHOW FIELDS FROM products
Running Fedora 5, using available Red Hat modules and latest version of Rails.
This problem just appeared. I had been enjoying going through the tutorial "Depot"
when it started displaying this problem. With phpMyAdmin I am able to access the
depot_development data base containing
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 Feb 28
10
Scaffold command, how and what may be wrong?
hi everyone. I am learning RoR and just recently purchase the agile wed
dev on rails. i am still at the beginning of the book trying to create
the scaffold for the depot_development database. Everytime i run the
generate scaffold products admin, i recieve the "before building the
scaffold, try to create a table for model products" etc...
a few questions:
1. How does ruby know that
2006 Nov 04
2
Instant Rails 1.4 final released (with RadRails support!)
This is the final release for Instant Rails 1.4. It corrects the two
known problems with the preview1 release (two help menu items
caused Instant Rails to crash). Instant Rails 1.4 contains the following
major changes:
* Upgrades Rails to version 1.1.6
(other components upgraded to current release, also)
* SCGI has been replaced by Mongrel (using Apache''s
mod_proxy for
2006 Nov 04
1
Instant Rails 1.4 preview1 released (with RadRails support!)
This release of Instant Rails contains the following major
changes:
* Upgrades Rails to version 1.1.6
(other components upgraded to current release, also)
* SCGI has been replaced by Mongrel (using Apache''s
mod_proxy for forward requests).
* For the development server, WEBrick has also been
replaced by Mongrel.
* Automatic RadRails configuration: if
2006 Mar 28
3
I hope this is not spamming
I do not want to get the reputation as a spammer and be hated by the ruby and rails community??!
But where are the best forums for help with rails and ruby please, and which ones are the most user freindly?
I have a little tech problem:
I have a lap top running xp home service pack two
and I have installed ruby 1.8.2 and rails 1.0.0 I also have mysql 4.1.16-nt via tcp/ip running on the laptop, so
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 May 18
10
What IDE can be used with InstantRails
What IDE can be used with InstantRails
I have installed ?InstantRails-1.3a-win? on my PC.
When I first started the InstantRails, an error message said something
about unable to start Apache because Port 80 being used by another
process. I went to change the Apache Port 80 and List 80 to Port 4001
and Listen 4001 respectively.
I was ratrher pleased that ?phpmyadmin? was working at
2006 Jun 06
15
error working through Agile !!!
Hi everyone,
I''m working my way thru the ''Depot'' project from Agile Web Development
with Rails.
I got to the bit where I type:
ruby script/generate scaffold Product admin
And I get the following error:
error Before updating scaffolding from new DB schema, try creating a
table for your model (Product) ( on the last line ! )
Now I have followed everything as
2006 Apr 03
18
newbie generate scaffold
Hi Guys
First time on the list and pretty new to the rails way of doing
things, yup I know sorry.. another newbie!
anyway, apologies out of the way, this is the problem I am having...
I have purchased the "Agile Development with Rails" book and have
just started running through the ''Depot'' demo application.
I have got to page 57...
I have my project files all
2006 Jun 24
2
Migrations problem with Agile Rails book
I am following the instructions on Agile Web Development with Rails book "Iteratio E1: Capturing
an Order" section. When I run the migrations I get the following error.
rake db:migrate
(in /Users/balaparanj/work/depot)
-- execute("alter table line_items \n
add constraint fk_line_item_products \n
foreign key (product_id) references products(id)")
rake
2006 Feb 28
3
Agile Web Development Example Application Question
I''m new to Ruby and to fairly new to programming. I''ve been working
through the "Agile Web Development with Rails" book, and I''m stuck on page
73 of the print version. The book''s online errata directed me here with my
questions.
I''m running Ruby 1.8.3 with MySQL 4.1.8 on OSX 10.3.9. I''ve created the
scaffolding for Admin controller
2006 Jan 28
10
Rails scaffolding - cannot get access to MySQL
Hi,
A newbie in the RoR world, I''m already more or less stuck when
generating the scaffold for my first tutorial project ...
When I try to generate scaffold code for my version of the ''depot''
application from the ''Agile rails ...'' book, I receive the following
error:
#28000Access denied for user ''bo''@''localhost''
2006 Jul 21
2
Migration Date Format
Just wandering if anyone can tell me how to format date when writing
test data to upload to the db via a migration.
ie, to match the date migration column format
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jan 14
5
New problem with Mac OS X + rails + mysql. Please help!
All,
I am working through the ''depot'' sample application from the
"Pragmatic Programmers" book on my
powerbook. I was going through the install process on
http://hivelogic.com/articles/2005/12/01/
ruby_rails_lighttpd_mysql_tiger and it seemed to work fine.
But when I try to create the first table, I get the following error,
and I have no idea what this means.
Any
2006 May 17
1
Table ''depot_development.sessions'' doesn''t exist
I am following the Agile Web Development with Rails pdf book, when I run
the store application it gives me the "Table
''depot_development.sessions'' doesn''t exist" error message.
How can I fix it? Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 22
2
Error: Before updating scaffolding from new DB schema, try..
Hi, I''m going through the Depot tutorial in the book "Agile Web
Development with Rails" and I can''t even get past the very first step.
I''m getting the following error:
"Before updating scaffolding from new DB schema, try creating a table
for your model (Product)"
when I try to run "ruby script/generate scaffold Product Admin.
I have a table
2006 Jan 14
1
(ActiveRecord::AdapterNotSpecified) Error
All,
I am on Mac OS X 10.4, went through all the installation steps for mysql
and ruby on rails. Now, I am getting this error when
trying to start webrick or when trying to create the tables:
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/
connection_adapters/abstract/connection_specification.rb:73:in
`establish_connection'': development database is not
configured
2007 Jan 17
1
error when trying to create mysql database
hey guys
My macbook pro 17 had to be taken back to apple beuase of a dud screen,
so have had to install from macports again.
When i attempt to create a mysql database with this:
mysql5 -u root depot_development
i get this:
ERROR 2002 (HY000): Can''t connect to local MySQL server through socket
''/opt/local/var/run/mysql5/mysqld.sock'' (2)
any ideas?
cheers!
Adam
--
2006 Jan 09
5
mysql is not recognized as an internal or external command
Hi,
An absolute newbie to RoR, I''m currently going through a few of the
excellent tutorials that are available on the subject.
One of these includes running a script for creating a mySQL table. In
the command prompt (XP), I try
mysql depot_development <db/create.sql
but get the following error:
''mysql'' is not recognized as an internal or external command,