similar to: random mysql error

Displaying 20 results from an estimated 10000 matches similar to: "random mysql error"

2007 Feb 07
2
form_for onsubmit
Is there a reason I can''t find any information on using the onsubmit attribute with form_for? I''d hate to *gasp* hardcode the form tag in. chad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Mar 13
16
Lost connection to MySQL server during query
I just downloaded and installed Ruby on Rails to a Win XP SP1 OS using XAMPP. I started going through the beginner tutorials at rubyonrails.org. It appears as though Ruby on Rails is operating properly until I try to access the MySQL database I created for it. Then the browser displays a detailed statement created by Ruby. It is titled: ActiveRecord::StatementInvalid in Recipe#New Recipe is
2006 Jun 14
5
InstantRails Lost connection to MySQL server
Hiall, I just tried out InstantRails version 1.3a. After a virgin install and filling the fresh mysql db with my app schema, I tried runningthe app with webrick, only to see the infamous "Lost connection to mysql server" for every action. What is it that I''m doing wrong? I also have mysql 5 installed on my machine, but the service is stopped while experimenting with
2006 Jun 05
4
Intermitent ''lost connection to mysql'' error
Hi, I''ve been looking at Ruby on Rails for an in-house project where I work. After I got everything setup correctly (apache, fcgi, mysql, etc) I''ve started to run into "lost connection to mysql" errors. I googled to try and find a solution, but most of the problems people seem to be having are constant and simple to fix. I haven''t found anyone talking
2006 Jul 12
10
Recurring mySQL Error
I am getting the following error when running my app on the server: mysql::Error: Lost connection to MySQL server during query: <some SQL here> The SQL is usually a SHOW FIELDS statement, but after scouring the log files I see that it occassionally happens with other queries as well. I did a little research, and one topic I found suggested that I edit the /etc/mysql/my.cnf and increase
2008 Mar 15
8
Now what?
> $ rake test > /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/ > rake-0.7.3/lib/rake/rake_test_loader.rb" "test/test_formatters.rb" > "test/test_parser.rb" > Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/ > rake_test_loader > Started >
2006 Sep 07
1
gem mysql buggy on Win32
Hi, Just running a simple unit test and trying to save an object gives me this error. test_validations(FriendTest): NoMethodError: undefined method `each'' for #<Mysql:0x38f60d0> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_a dapter.rb:292:in `columns'' .... .... Rails 1.1.6 mysql 5 mysql gem 2.71 After I
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth Win32 binary gems install. When I try gem update RedCloth, it just installs 4.1.9. Did I do something wrong in the gemspec? Would someone else with a windows machine try it and let me know how it goes? Jason
2007 Jun 18
2
mysql-5.0.41 and mysql native gem
Has anyone else had problems with the mysql native gem when using MySQL 5.0.41. It appears that this version of MySQL has moved some depended library files. I rolled back to MySQL 5.0.37 and all seems to be working now. But, just wanted to know if anyone else has experienced this issue. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed
2006 Nov 02
4
application controller security
Shouldn''t everything in the application controller be protected by default? I just realized that my app can be called like this: www.myapp.com/application/method and it actually tries to run that method inside my application controller. Is everyone else just adding "protected" at the top? Thanks, Chad --~--~---------~--~----~------------~-------~--~----~ You received this
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
2007 Aug 23
20
Eliminating bad tests from SuperRedCloth
Hi, all. I haven''t felt at liberty to go axing test cases, but some of the 33 that are failing now are ones I don''t think we want to pass? cruft coming from Markdown or made up to fill a gap some years ago. I''d like to float the proposition that we make Super (and thus RedCloth 4) behave as identically as possible to Textile2 as working on
2007 Jul 16
6
Advice regarding extending RedCloth
Hello, I am in a bit of a bind. I need to reliably parse mediawiki markup to html, and the only parser that I can find (mediacloth) has a lot to be desired, so I would like to extend something that works and parse mediawiki markup. My question to this list is should I start working on RedCloth or SuperRedCloth or is there a difference as far as extending them? Also does anyone know of a write up
2011 Jan 13
9
spurious <li> generated when list followed by 3
RedCloth master generates a spurios <li> element when a numbered or undumbered list is followed by three or more newlines. RedCloth.new("* one\n* two\n* three \n\n\n").to_html #=> "<ul>\n\t<li>one</li>\n\t<li>two</li>\n\t<li>three</li>\n</ul>\n<li>" # note extra trailing <li> outside <ul> A colleague
2008 Feb 21
5
Question about entities
1.) What is everyone''s preference on NCRs or character entities? Textile 2 uses decimal NCRs, so a less-than character becomes &#60; whereas RedCloth (3.04 and prior) used &lt;. What is your preference? It gets tough because &#39; (a straight single quote) doesn''t have a character entity equivalent. 2.) How do you feel about encoding characters like quotes
2008 May 13
4
hard_breaks issues
Hello, I''m new to this list, so first of all, many thanks to RedCloth''s developers, it really helps me in many ruby apps :-) I post here because I''d like to have a clear view on "hard_breaks" related issues. I saw old references on the web and on the archives on this ML, I''d like a fresh view ! It seems that RedCloth 3.0.4 does not handle
2006 Apr 17
7
Action Controller: Exception caught
Hi, I''m running the cookbook example from ONLamp.com. I have tried to test my site and it comes up with the the message on the site: ActiveRecord::StatementInvalid in RecipeController#index Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM recipes RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Mar 10
5
ActiveLdap and windows.
I thought I might try to create a Rails app to use LDAP authentication. Unfortunately, I can''t figure out how to get the Ruby/LDAP stuff working in my environment (I''m using a windows server). If anyone out there has experience with this, could you dumb it down a little bit for me? -- 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
2008 Jun 13
2
Bug with multiple "!!!"
Hi! I discovered a bug in the latest stable RedCloth release where multiple "!!!" are not handled correctly. The bug seems related to line 1118 in redcloth.rb. Old version: next if prop == ''src'' and attrv !~ /^http/ New version: next if prop == ''src'' and attrv =~ %r{^(?!http)\w+:} Even in the old version, the string "?!?!?" is