similar to: I hope this is not spamming

Displaying 20 results from an estimated 900 matches similar to: "I hope this is not spamming"

2006 Jul 20
3
Instant Rails not finding database
Hey there I''ve got instant rails installed, and it''s phpmyadmin can find the database at the ascribed mysql port (3210) ...however, altho i have got my ''depot_development'' db in there (along with the other dbs that ship with instant rails)... the rake script from the instant rails command interface cant find ''depot_development''. Looking at
2006 May 09
4
Agile Web Development with Rails
Hi, I''m new to Ruby, Rails and MySQL... Before Dropping my database, I went back to a previous Grant problem. On page 54, there are three create database commands...these all worked fine for me. I then tried the following Grant command: Grant all on depot_development.* to ''dave''@''localhost''; I got back the following error message: Error 1133 (42000):
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 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 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,
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 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
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 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 Feb 05
8
Agile Rails book: depot problem
I recently finished the first part of the "Agile Rails" book. But, the depot doesn''t completely work as it should. I still have 2 problems: I will explain them in 2 threads. The first one is: I can''t destroy products (I can only creat and update them). When I try to delete a product --> http://localhost:3001/admin/destroy/3 I get this error message:
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
People, I''m looking at the migrate example on p 74 of the rails2.pdf It''s a simple example of using a migration to add a column to the products table. Here is a copy of the migration file named 002_add_price.rb after I generated and then edited it: class AddPrice < ActiveRecord::Migration def self.up add_column :products, :price, :decimal, :precision => 8, :scale
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 Feb 19
4
Why is configuration in YAML and not Ruby?
On thing that has struck me about dynamic languages is that you don''t need configuration files at all. You can just alter the definitions directly in the Ruby code. So if everything is Ruby and configuration files are frowned upon, why does Rails store the database connectors in a config file ''database.yml'' What''s wrong with a
2005 Oct 13
0
Re: mySQL command line within rails - access denied?
-- Alex Young <alex-qV/boFbD8Meu8LGVeLuP/g@public.gmane.org> wrote: ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > You need to set
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