similar to: Sql error using MAMP with rails 1.1

Displaying 20 results from an estimated 10000 matches similar to: "Sql error using MAMP with rails 1.1"

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 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 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''
2005 Dec 02
3
yaml Error When Trying to Generate Scaffold
Hello there, I am a Ruby on Rails newbie, and have been reading the book, "Agile Web Development with Rails", by Dave Thomas. Seem to be stuck on page 57, when trying to invoke "ruby script/ generate scaffold Product Admin"... My depot/config/database.yml file''s contents are: development: adapter: mysql database: depot_development socket:
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 Mar 28
1
server not starting in new Rails 1.1 - lighttpd parser error
I am newbie - needed help, I just know updated rails1.1 When i start the server I''m getting this error, ------------------------------------------ gbalaji:~/projects/depot gopalbalaji$ ruby script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach =>
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
2008 Sep 19
2
Using Rails on MAMP via Passenger?
I''m new Ruby as well as the Rails Framework. I want to install Passenger so that I can develop in MAMP (Leopard), but I can''t find any instructions specific to installing Passenger on MAMP. Can anyone provide with me instructions on how to do so? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2006 May 11
6
Dynamic data passing thru Rails to Flash
Hi, I am using Flash Dashboard and 3 sets of listbox. When i change my first list box say name i need to dynamically change the second list box and from the second list box when i choose an name i need to change the content according to this in the third list box. How can i pass this datas from database in rails. thanx g.balaji -- 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 Apr 11
0
Problem using generate/scaffold and FireRuby
Hi to all, I am trying to use "ruby script/generate scaffold product". I always get the message "uninitialized constant CHARACTER_SET". I have a products table in a Firebird database called depot_development.fdb. Here is my config file : > common: &common > adapter: firebird > host: localhost > username: SYSDBA > password: masterkey >
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 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 22
2
a newbie doomed in the first introduction to rails.
Hello, Thank you for the fast responses, I really appreciate. I really enjoy being a part of such a great community. I still could not solve my problem. To make sure that I can not connect beacuse of access rights, I have started mysql server --skip-grant-tables option. (I have read the part of the manual about access rights, which I was to read in this list, but 4 AM in the morning, I had hard
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 28
2
Newbie question - ActionController::RoutingError
When i run my server and just chk in browser i get --------------------------------------------------- ActionController::RoutingError (Recognition failed for "/rails_info/properties"): /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/routing.rb:488:in `recognition_failed''
2006 Mar 03
0
error running generate scaffold - doesn''t see table which is there
Hi I''m trying to get some basic stuff working from the "Agile Web Dev with ROR" book - chapter 6 "Create the Maintenance App". (On linux, mysql 4.1, ruby 1.8.4) I have the depot_development db created, and teh "products" table definitely exists. The user name and pw are correct in database.yml But I get this: <snip> daniel@roomatthetop:~/work/demo$
2006 May 15
2
Flash & Rails Data passing
Hi, I am new to Rails and we are creating a web 2.0 app where we are integrating Rails and Flash. I dont know how to pass the values from flash to Rails to save in database. We have integrated the above specified with PHP and Rails. How to get the data from database and pass on the Flash thru Rails. Wht i exactly need is, We have 3 list box where when i select the first list box i need to
2006 Feb 26
0
error Before updating scaffolding?
Hello all, I am a bit hung up. I have created a simple table (pluralized) named aircrews and I have edited my database.yml file to point to the database that I created and that is holding the table aircrews. I have gone through the depot tutorial in the Agile book and when I have run the scaffolding command for the depot app all has worked fine for the table products. Now when I run the ruby
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