similar to: ONLamp.com Tutorial Trouble

Displaying 20 results from an estimated 10000 matches similar to: "ONLamp.com Tutorial Trouble"

2006 May 15
3
Mysql::Error in RecipeController#new
Hi, I''m doing the following tutorial :http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3 but when I''m trying to access the database I get the following error #28000Access denied for user ''root''@''localhost'' (using password: NO) That''s strange because the database.yml file is defined with a password : development:
2005 Mar 04
2
Part 2 of ONLamp.com Rails article is online
ONLamp.com has finally published part 2 of my Rails article! You can find it here: http://www.onlamp.com/pub/a/onlamp/2005/03/03/rails.html It would be really nice if we could get this slash dotted again before the weekend. >From what I understand, you''re more likely to get accepted when multiple people submit something. So, to anyone who has the inclination: if you would submit
2006 Mar 30
2
help : No database specified. Missing argument: database.
Hi, I''m new to Ruby programming. I''m wnt thru the example by curt in onlamp and was stuck up in the midst of configuration. I''m getting the "No database specified. Missing argument: database." error when i tried creating a table recipe in cookbook db . My database.yml contains the following entries Development: adapter:mysql host:127.0.0.1
2004 Jan 23
0
New Asterisk article on O'Reilly's onlamp.com
Here's the follow-up article to the first article I published on Asterisk: http://www.onlamp.com/pub/a/onlamp/2004/01/22/asterisk2.html?page=last This one covers getting Zap hardware installed, and also covers integrating an IPCSP (IP Communications Service Provider - aka: long distance via SIP.) Sorry for the delay - the article was submitted about five months ago and just finally
2006 Mar 22
2
n00b question
Total Ruby N00b here with a question about the Hibbs OnLamp tutorial. I''m trying to hook up to my cookbook database and I''m getting: ActiveRecord::StatementInvalid in Recipe#index Mysql::Error: #42S02Table ''cookbook.recipes'' doesn''t exist: SELECT COUNT(*) FROM recipes RAILS_ROOT: ./script/../config/.. My thoughts: I think I''m not actually
2006 Dec 20
1
Problem with mysql connector adding "s" to the end of querries
I am a beginner with ruby and was working through some basic examples from Onlamp where I create a basic controller and model, use the scaffold command, and edit my database.yml file to point it to the correct database. The problem I am having is that no matter what I do, I continue to get a mysql db connection error when I web to application. It seems that my connector is trying to connect to
2005 Nov 19
1
new article on R at oreillynet.com
An article I wrote that provides a basic introduction to R has been published on Oreillynet.com. The article is titled "Analyzing Statistics with GNU/R". Here is the link: http://www.onlamp.com/pub/a/onlamp/2005/11/17/r_for_statistics.html Please feel free to post comments or interesting basic R scripts at the end of the article. Kevin Farnham
2006 Jul 07
2
Errno::ENOENT in RecipeController#new
I''m brand new to Rails and I''m trying to work through the ONLamp.com Rolling with Ruby on Rails tutorial. I''m trying to connect to my mysql database and I''m getting the following: <i> Errno::ENOENT in RecipeController#new No such file or directory - /tmp/mysql.sock RAILS_ROOT: /home/jason/rails/cookbook/public/../config/.. Application Trace |
2006 May 09
2
newbie: OSX Ruby/MySQL issue?
I''m three pages into the OnLamp RoR Tutorial [1] and am wrestling with what appears to be a MySQL connection problem. I''ve created a simple controller called "recipe" with a corresponding "recipes" mysql table. The recipe controller is just a simple scaffold. When I browse to "recipe/new", though, I get these errors: == NoMethodError in
2006 Feb 03
1
Rolling with Ruby on *Instant* Rails - "New" Tutorial
Greetings! The original version of this tutorial was written by Curt Hibbs and published on ONLamp.com. It served as my introduction to both Ruby and Rails. Unfortunately, I experienced some frustration working through it. This was due first to the fact that I was using Instant Rails, not Rails, and second, to the fact that Rails itself has grown since Curt wrote the article. Despite my
2006 Aug 08
2
Should I uninstall everything to install InstantRails?
Please help me I am brand new to this. I have been following this tutorial from OnLamp http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html which tells you how to install ruby, rails and mySQL and get going. Doing this tutorial convinced me RoR was the way to go for me. So I got hold of this e-book: Agile Web Development with Rails - The Pragmatic Programmers The book tells me to install
2006 Jul 05
1
newbie question: Mapping Collections
Hi, Day 3 with rails here. Forgive me. If this has been covered many times before, pls just point me at the article. I worked through the Rolling with Rails tutorial (http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html) built up my cookbook. Things work great. I now want to add Ingredients to my app. So, a Recipe will have 1 or more Ingredients and any single ingredient can be
2006 Jun 06
4
Rails keeps adding the letter s to the MySQL tablename.
I followed this tutorial for Ruby on Rails... http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 Everything went fine. I created the DB in MySQL and tested the recipe/new and recipe/list functions, and all went smooth. Now I''m trying to use Ruby on Rails to track software licenses here at work and I keep running into this strange problem. I am setting up the DB,
2006 Mar 03
13
Listing help
Hi, I''ve created a Rails application and am having a problem listing by a particular category in an associated table. I followed the instructions found at the O''Reilly tutorial (http://www.onlamp.com/pub/a/onlamp/2005/03/03/rails.html?page=3) but have not had success. Can anyone please outline a better set of instructions than in the "Showing Recipes in a
2006 Jun 06
4
Troubleshooting "Lost connection to MySQL server.."
Hello all, Though I''ve read all I could about the "Lost connection to MySQL server during query: SHOW FIELDS FROM ...", I''m still unable to use RoR. I''m on Linux Mandriva 2006 / MySQL-4.1.12 / ruby-1.8.2 - The userid/password have access to the database and the table (it''s the root user on MySQL) - I''m on a nonstandard socket/port, but
2006 May 03
6
Scaffold Generation Problem
Greetings all, I''m sure there is probably a very obvious reason for the following problem. However, after much hair pulling, I am just not seeing it yet. As you can see from the trace below, I am not able to complete scaffold generation due to some problem between rails and mysql. I double checked MySQL to make sure both my Ruby user and Root user have full rights to the database.
2007 Mar 11
5
Mysql::Error #28000Access denied
I''m on MAC OSX and I set up my environment as described here: http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger?status=301 This may be too old and I just realized that, but before I attempt Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X: http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx Okay, I purchased a book "Rails
2005 Mar 09
2
LoadError
Hi, Im new to both Ruby and Rails, though am impressed by both. I am however stuck on a problem, when trying to run a demo. I''ve setup a postgresql database with a cookbook demo as per OnLamp, returned is the following error message: LoadError in Recipe#new No such file to load -- postgres script/server:48 Has anyone come across this error before? Anyone know how I should go about
2006 Aug 08
1
recognation failed - ?!
Hi there, When I was making examples form "Rolling with Ruby on Rails" ( http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html ) , after generating controller MyTest, the WEBrick server ( localhost:3000 ) reported an error: recognation failed /MyTest The WEBrick server was started form correct directory, what else can crush in that way ? Cheers. -- Posted via
2006 May 07
6
Unable to get past Tutorial 1 in RubyOnRails
Unable to get past Tutorial 1 in RubyOnRails On 29 April 2006 I met some one in a Microsoft sponsored developers? community gahering. I was told that ruby on rails is a free software, easy to use, and in no time will have my mind blown with all the wonderful prospects and possibilities. After almost a week, I am still unable to get past tutorial 1 and still unable to make any tutorials work