Displaying 20 results from an estimated 1000 matches similar to: "Still having config problems"
2006 Mar 30
2
Rails lost connection to MySQL server!
I getting this error on my project
Mysql::Error: Lost connection to MySQL server
during query: SHOW FIELDS FROM ...
i think that it''s because the mysql database don''t allow persistent
connections .....
any idea?
thanks
--
_________
Noel R. Morais
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
2007 Oct 14
5
Ruby/Informix 0.6.1 released
This is a maintenance release to fix a bug triggered while working
with Ruby on Rails and Informix.
Web site: http://ruby-informix.rubyforge.org
Changelog:
0.6.1 13/10/2007
------------------
Bugs fixed:
* Database#columns was returning an empty array from within
the
Informix ActiveRecord adapter
(ActiveRecord::ConnectionAdapters::InformixAdapter#columns)
if
2005 Mar 06
2
Using url_for in ActionMailer templates
Hi All
I am just adding some basic e-mail notices to my Rails app using
ActionMailer, and have one small issue. I want to provide a
confirmation URL to users who sign up for an account. I can obviously
just hardcode the URL and append the confirmation code to it, but I''d
much rather be able to use something like:
url_for(:controller => ''authentication'', :action
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 Aug 28
8
Railsy way to Export Database Schema?
Is there a nice way in rails to automatically extract an exising
database schema from an existing app and then in a new app automatically
create a database based on this schema?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post
2005 Mar 09
10
mysql vs postgres
I''ve used mysql for quite some time now. Other than crashing when the
partition gets full, I''ve had no problems with it.
But I''ve heard great things about postgres and have seen some people
say it''s much superior to mysql.
So, with a Rails application, is there any reason why I would want to
learn/use another DB besides mysql? Any pragmatic benefits?
2009 Jun 24
3
ActiveResource:: HttpMock
I''m trying to set up testing on my ActiveResource project. The
HttpMock appears to be what I want, but whenever I use the code in the
"documentation", I get the error
NameError: uninitialized constant ActiveResource::HttpMock
Is there something I need to do to enable HttpMock testing?
Thanks,
Tom
2005 Oct 05
2
customer defined sort order
I have a category list which the customer wants administratively to define
the sort order, instead of alphabetical or whatever. The obvious approach
seems to be to put a sort_order int on the record and use this as the
presentation sort order. Then to shift the item up in the sort order to swap
the current and the prevous item in the sort_order.
Does this seem like a sensible approach, or is
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello --
Please pardon my newness -- I''m just getting started with rails, and
I''m having some difficulty getting it set up with MySQL.
I am able to get the basic ruby server running (script\server). When I
created a new page (using script/generate controller about index), I
am not able to navigate to the new page, and Ruby either crashes or
gives me an error:
/!\ FAILSAFE /!\
2007 Dec 01
3
Rails 2 problem with compute_public_path
I''m trying to migrate to Rails 2, but keep getting these errors all
over the place:
ActionView::TemplateError: wrong number of arguments (2 for 3)
On line #61 of users/new.rhtml
58: <% if @captcha_error -%><div class="fieldWithErrors"><
% end -%>
59: <table class="signup"><tr>
60: <td
2006 Sep 01
2
Include ActiveResource
Hello,
I want to give ActiveResource a spin.
I have all the code checked out from SVN in vendor/rails (yes, including
ActiveResource).
I''m trying to make sure it gets loaded.
I did this in environment.rb:
config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/activeresource/lib )
Unfortunately I still can''t use it. I have an ActiveResource derived model,
Address:
class
2006 Nov 29
6
Noob needs help installing backgroundrb on Windows XP
Hey Guys,
In the readme for Backgroundrb it says that windows support has been
depcreated for this version, but then it goes on to mention how to use
it in Windows. So I''m not sure if it should be running on windows or
not, so I''ll ask anyway. Also, I''m new to ruby and I''m also new to
server administration, so I apologize if my questions are pretty
2007 Mar 05
2
SOLVED:Re: How to select postgres for usage instead postgres-pr?
Figured it out chaps..not to worry!!!
--
Regards
Andrew
On 05/03/07, Andrew Madu <andrewmadu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi,
> further to my additional email the gem build for postgres did not work, so
> I downloaded and copied postgres.so into:
>
> C:\pgRails\lib\ruby\site_ruby\1.8\i386-msvcrt
>
> Again, how do I point rails to using this
2006 Jan 20
3
Dispatcher Issues
Should I be able to run this and get some meaningful output? I''m trying
to convert my app to run with Apache2/CGI and I''ve got the snippet that
the RoR book suggests. The app runs fine with WEBrick, but I''ve got to
scale it a little bit.
[root@ops cms]# ruby public/dispatch.fcgi
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
2009 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
Hi,
I installed the "kwatch-mysql-ruby" gem on my Debian server but when I
try to run the "db:migrate" task I get the following error:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
uninitialized constant MysqlCompat::MysqlRes
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb
23 sudo mv camping-unabridged.rb camping.rb
when running into problems, the abridged version of camping is rather
difficult to debug.
so I''m moving to unabridged, but I''m getting this error.
[Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2009 Aug 15
10
** PLEASE HELP A NEWBIE ** Status: 500 Internal Server Error no such file to load -- mysql
Hello All,
I have managed to upgrade ruby to 1.8.7.
However, when I use Terminal and ''cd'' to the app and run ''ruby script/
server'' ... I get an error when i click the link ''about your
applications environment''.
When I look into Terminal, it suggests Status: 500 Internal Server
Error
no such file to load -- mysql
How do I overcome this?
2008 Oct 07
1
can't find mysqlclient : asterisk-addons-1.6.0
Hi All,
I can not install the asterisk-addons as it thinks there is no
mysqlclient installed. I have installed mysql, mysql-server and
mysql-devel and I am still unable to install the addons. I am running
CentOS 5.2 i386.
Please somebody help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: