Displaying 20 results from an estimated 2000 matches similar to: "Rails edge breaks my app"
2006 Feb 15
0
MySql adapter error
Most likely due to something I misconfigured and/or broke when trying to get
the new polymorphic acts_as_taggable to work...In short, after installing
that gem and then trying to run gem install mysql on my windows server, I''ve
been getting this weird error on every page I try to hit.
If anyone give give me any insight into how I messed this up or how to fix,
it would be much
2006 Jan 15
0
OS X Rails - Nuby
OK, I''m diving into new things - a .net programmer and windows user
trying to develop in Rails on my Mac. Initial setup was easy, and I had
things working and was thrilled with myself. Then I shut down. Next
time I booted up, mysql was acting all kinds of funny. I finally got
that working again (I *think* it mostly had to do with me not having the
right path, I unfortunately
2006 Jan 15
2
Please help - Rails hanging on mysql connection
Trying to get Rails and mysql running on OS X, and I''m a Nuby.
Everything ran smoothly when I first installed, but after rebooting
things were out of whack. I finally got back into mysql after
re-installing, and at first when I tried to connect with Rails/Ruby I
got a message that my client was not up to date. So after reading some
info online, I set my mysql passwords with
2006 Feb 08
5
Mysql::Error: Lost connection to MySQL server during query:
Hi,
I am having Mysql connection problem for my first AddressBook
application (which I took it from
http://www-128.ibm.com/developerworks/linux/library/l-rubyrails/)
I have gem installed the latest ruby, rails, lighttpd, fastcgi,
mysql-4.1.14 on linux. Everything looks good. When I do:
mysql -h localhost -u test -ptest -D AddressBook
mysql> SELECT COUNT(*) FROM contacts;
+----------+
|
2006 Jan 21
2
problems in moving an application database from a local to a remote mysql server
hi.
i''ve an application which is using a local mysql server (on
localhost). i then moved the mysql server to another machine (remote
host) and changed accordingly the "database.yml" file.
when i launch webrick from the "localhost", it can connect to the
database but as soon as i call a controller of the application (for
example
2006 Jan 13
1
ActiveRecord: using with multiple threads/DB connections
Hi,
I''m totally new to Ruby and Rails and I''m trying to set up a prototype
web site. Unfortunately, I''m having problems with ActiveRecord using
multiple threads.
What I want to do is fairly simple. I have a Controller that receives
and saves data from the web in the DB, but once that''s done I want to
process this data in another thread and then save the
2005 Apr 26
0
NoMethodError (undefined method `fetch_fields' for nil:NilClass)
Hi
I''m new to Rails (and Ruby) and I can''t get it to work properly.
Every time I want to do something with my database-connection (e.g.
use scaffold) I get this, or something similiar (from development.log):
>> Beneath this code there''s some more text <<
-------
Processing CategoryController#index (for 127.0.0.1 at Tue Apr 26
21:43:45 CEST 2005)
2005 Mar 10
0
Need Help with Flaky FastCGI on Windows
Hi Everyone -
I have a rails 0.10.1 application deployed on a Windows 2003 server
under XAMPP Lite 1.4.12. Running under CGI, the application works fine
(a bit slow, obviously, but no problems).
When I run under FastCGI, the app is fine until I leave it alone for a
few hours. For example, last night I switched it to FastCGI and
everything seemed to be working fine. When I woke up this
2006 Apr 02
2
Problem with lighttpd on mac
Hi,
I followed the instructions I founded here :
http://developer.apple.com/tools/rubyonrails.html
I can run a small RoR application with webrick, everything is fine in
this case.
But when I try to use lighttpd i can access
http://localhost:3000/images/rails.png for example but not a dynamic
page. In the latter case I dont get any page, the browser is just
waiting infinitely. If I force
2006 Feb 25
5
MySQL client ran out of memory
I''m getting the following error unexpectedly for my rails app. I just
exported the databae from dreamhost and imported it on textdrive for
my rails app.
Mysql::Error: MySQL client ran out of memory: SELECT COUNT(*) FROM
comments WHERE (comments.listing_id = 2666)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
2006 Feb 09
2
postgres connection problems
Hello, I''m a newbie to rails and I am trying to do the Demo in the
November Issue of Linux Journal. Things go fine go fine until I try to
connect to my Postgres database (ver 8.1). At this point I get the
following error message
---- RoR error and trace back ----
PGError in Admin#index
could not connect to server: Permission denied
Is the server running on host "localhost"
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 Apr 20
1
has_many.count not accepting options hash
has_many.count does not seem to support an options hash like
ActiveRecord::Base.count does.
Example:
>> AcademicProgram.find(:first).course_requirements.count :conditions
=> "courses.name LIKE ''a%''", :include => :course
=> 40
>> ap.ap_requirements.count :conditions => "courses.name LIKE ''a%''",
:include =>
2006 Sep 06
5
admin controller problem
I am reading the agile web development with rails book, and starting to
create the depot. I am getting the below error after setting up the
"ruby script/generate scaffold Product Admin" does anyone know what the
problem is?
NameError in AdminController#index
uninitialized constant Mysql
RAILS_ROOT: ./script/../config/../
Application Trace | Framework Trace | Full Trace
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
2005 Dec 19
5
using a local MS SQL Server
I would appreciate any tips/clues/advice very much.
I have started using ruby on rails and when the MS SQL Server database is on
a different box than my dev box (where the RoR app is located) I can connect
fine. However when I try to connect to a MS SQL Server database on the same
box as my RoR app I get an error. I have tried to use the IP address of the
dev box as the value of
2006 Apr 30
3
MySQL connection problems on Dreamhost
To all fellow Dreamhosters out there...
Sometimes my app mysteriously loses its connection to the database,
resulting in a big ugly "Application Error (Rails)" page. Usually
refreshing the page makes it go away, but not today. :-(
In production.log I see this:
MysqlError (Lost connection to MySQL server during query):
Any idea why this happens? It''s rather intermittent
2005 Dec 30
1
Problems with Testing (Depot) demo app in Agile Rails book
I''ve encountered a perplexing problem whilst following along the demo
app in the "Agile Web Development with Rails" book. Any help would be
greatly appreciated. Here is a brief time line of my tale of woe:-
0. Been programming (business apps) and designing/building DBs for two
decades - but new to both Ruby and Rails (so I apologise in advance if
I''ve made some
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2005 Dec 28
1
Windows "Lost connection to MySQL server during query"
With previous versions of active record (prior to version 1.13.2), one
could simply comment out the "require ''active_record/vendor/mysql411''"
line in mysql_adapter.rb to fix this problem when you weren''t (and/or
couldn''t) use the native mysql bindings.
However, this line no longer exists, and I''m stuck on getting any sort
of applicatino