similar to: Rails lost connection to MySQL server!

Displaying 20 results from an estimated 1200 matches similar to: "Rails lost connection to MySQL server!"

2005 Jan 22
6
Still having config problems
Hi, Having completely failed to sort out my apache 500 error, I thought I would work through the "Rolling with Ruby on Rails" tutorial at http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html I am using webrick, not apache - and still getting 500 errors. When I get to page 4 where http://127.0.0.1:3000/recipe/new should give me a data entry screen, instead I get...
2005 Jan 04
2
rails on windows?
hi all, i''m new at rails, new at ruby. i''ve installed ruby (1.82.) and rails on windows 2000 so, two questions. one:, the mysql gem is giving me a "Failed to build gem native extension." by the way, i also get this error when installing on my linux box at home. two: can i run rails on IIS? --****Florida has a very broad Public Records Law. Virtually all
2006 Feb 24
6
when i save, rails doesnt update the model instance with the id of the new record
Hi everybody, Im using sqlserver (sqlserver adapter). I think that is some bug. any idea? -- _________ Noel R. Morais
2006 Apr 01
2
Can i cache models?
Can i cache models that never get changed? -- _________ Noel R. Morais
2006 Feb 26
17
please help: having problem with the scaffold commad, mysql.
i just recently purchase agile web dev book about ruby on rails and going through the whole project. well i am now stuck on creating the scaffold. I have been messing with settings for awhile now. here is the error: koloa@ubuntu:/var/www/depot$ ruby script/generate scaffold Product Admin exists app/controllers/ exists app/helpers/ exists app/views/admin exists test/functional/ dependency
2006 Mar 01
5
Error installing the MySQL Ruby bindings?
Hi, I attempted to install the MySQL Ruby bindings and I received the following errors: > gem install mysql -- --with-mysql-dir=/usr/local/mysql Attempting local installation of ''mysql'' Local gem file not found: mysql*.gem Attempting remote installation of ''mysql'' Building native extensions. This could take a while... *** extconf.rb failed *** Could not
2005 Oct 22
2
problem with "gem update mysql"
Hi, I have activated scaffold in my first rails application ( following http://manuals.rubyonrails.com/read/chapter/38 ) and now I get the next error ''Packets out of order'' error was received from the database. Please update your mysql bindings (gem update mysql) and read http://dev.mysql.com/doc/mysql/en/password-hashing.html for more information. if I run the "gem
2006 Feb 25
20
Agile Rails book code fails page 32
Starting Agile Web Development with Rails, page 32, everything has worked well so far but on (book not pdf) page 32 I don''t get the "Template Is Missing" error. I get Routing Error Cannot load config/routes.rb: No such file to load -- ./demo/script/../config/../config/routes.rb There is a file at e:\ruby\ror\work\demo\config\routes.rb It''s all greek to me and
2006 Apr 04
6
connecting to mysql on OS X 10.4
i have looked in the archives, i have the _agile_ book, and its links right in front of me, and i have done pretty much everything i can think to do except start from a fresh OS install, and yet i still can not get Rails to talk to MySQL. when i try to do this: 237:/Library/WebServer/Documents/Rails/depot chris$ ruby script/ generate scaffold Product Admin i get this output:
2007 Nov 20
1
How to receive manager events from commands made by an AGI script?
Hi all, I'm new on this list, my name is Noel. :D I developed a system using AGI and now I'm trying to develop a system that listen events fired by Manager API. I have realized that I don't receive events from commands made by an AGI script like "play a file" or "record a file". Is there a way to receive such events? Sorry about the poor English. Thanks in
2006 Mar 26
10
How to delete a uploaded file with file_column plugin?
Hi, sounds somehow stupid, but I can''t get rid of my files that I uploaded into my application via the file_column plugin. Any suggestions? Cheers Thomas -- Posted via http://www.ruby-forum.com/.
2006 Apr 03
8
[OT] - Career Advice
Hey everyone - I have a career-related question for you all. I currently work full time as a Sr. Sys Admin, and have been doing systems work for about 9 years. I have been doing web development work on and off during this time, and have written quite a few internal applications and scripts for several companies I worked for. I have never worked in the full time capacity of a software developer
2006 Jan 05
5
Lost connection to Mysql
I''m trying to set up RoR on a laptop and having all sorts of troubles. I''m running XP SP2, I did a quick install of appache/mysql using Xampp, which worked fine. I grabbed the latest windows install of ruby and rails, installed it ok and got it running. The moment I try to run a rails page that queries a database, it fails every time, and I get the following error:
2006 Mar 30
4
SSL Requirement plugin
Is there any way to have the plugin require SSL to be used for all actions in a controller and just specify the ones you dont want to require SSL using ssl_allowed? class ApplicationController < ActiveRecord::Base include SslRequirement ssl_required *.* Many thanks. Also I could of course combine this with local.request? so that when developing locally http is allowed, but
2006 Mar 30
1
Active Directory Authentication
I have an opportunity to write a few small apps in my enterprise environment, but I need to authenticate users through our Microsoft Active Directory. Has anyone done anything like this? Many thanks, Michael -- http://www.michaelgorsuch.org
2006 Jun 01
4
What i do if i have a table with a column named "type"?
Hi everybody! The class ActiveRecord::Base have a atribute named type and if my table have a column with the same name i get an error if i use model.finde, model.save and more... I dont know what i can do to solve this problem! Someone know? Thanks -- _________ Noel R. Morais
2006 Feb 20
2
How can i render an external url?
Hi everybody, Well, how can I render an external url? In java, I do something like this: <html> <head> <title>External URL</title> </head> <body> <jsp:include page="www.rubyonrails.org" /> </body> </html> Noel R. Morais RFC - Ready for Calls +55 (11) 3471-4005 www.rfcnet.com.br -------------- next part
2006 Feb 20
1
I can''t insert records using sql server database!
Hi everybody, When I code something like this: user = User.new(:user => "test", :password => "test") user.save user.nil? # its return true its only happen when I use sql server database, in mysql or postgres its work fine! Noel R. Morais RFC - Ready for Calls +55 (11) 3471-4005 www.rfcnet.com.br -------------- next part -------------- An
2013 Jan 26
2
different legends in lattice panels
Hi listers, I want to make lattice plots xyplots with the indication of legends inside each panel with only the points and the lines actually ploted inside each given panel according to the group(ing) factor. The code below shows what I have achieved so far and I hope will make clear what I want to have. It seems to me that my solution is a very "dirty hack" and there certainly is
2007 Apr 18
1
Windows don't show domain groups
I recently updated the samba to latest Debian stable version (3.0.24-2), after that I couldn't see groups on Windows stations anymore, only domain users, and any changes on smb.conf has been made. Currently I'm using Samba along with LDAP in my servers to authenticate users from Windows 9X/2000/XP workstations. I'm a bit clue less about how solve that problem, since with oldest