Displaying 6 results from an estimated 6 matches for "zd8x6qpkmzdmp321v2ksyuyli9nm".
2009 Sep 11
2
Anyone know why __END__ and DATA don't work in Rails?
When writing Ruby you have the option to end the file early with
__END__. Anything after the __END__ is assigned to a constant called
DATA which is available within the file.
I recently tried using this in Rails and it didn''t work. Instead I get
an uninitialized constant exception. Anyone know why?
Has it been disabled in Rails?
thanks
Gavin
2009 Apr 07
12
Problem with MYSQL after re-installing rails
Hey all-
Re-installed OSX yesterday and with it, Ruby and Rails
Now when I try to run db:migrate I get the error message:
"!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
Rake aborted!
no such file to load -- mysql"
So, I try sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
And get:
2009 Feb 26
8
beginners question
hi group,
I am making a little rails app to experiment with rails. It consists
of one model, item, that represents an item on a todo list.
A todo item has a description, a state (finished or not) and a due
date.
After changing the scaffold screens a bit, I wanted to be able to
have no due date. I tried to do this by making a radio button; if ''no
date'' is selected, the date
2009 Jul 20
9
rake error
When I run rake test:units I get this error:
292 tests, 350 assertions, 2 failures, 13 errors
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
usr/loc...]
This error just showed up yesterday --- I have no idea how I caused
it. Here is my gem list in case that helps:
actionmailer (2.3.2, 2.2.2)
actionpack (2.3.2, 2.2.2)
activerecord (2.3.2, 2.2.2)
2009 Jan 20
2
Do I need an SSL certificate to use ActionMailer 2.2.2?
Hi guys - I''m sorry to post about this issue again but after several
days I still cannot get ActionMailer working and I''ve been through
every tutorial/forum looking for the answer.
I know ActionMailer now requires SSL validation, does that mean I need
to purchase an SSL certificate before I can send emails?
If not, is there anyone out there who can help me set up my mailer to
2009 Apr 19
15
Not quite a rails question but can anyone advise?
Hey guys!
I''m having a little trouble trying to integrate RMagick with my rails
app.
In the online terminal (on my host''s server) if I write:
export "LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH" before
opening the rails console then I can require "RMagick" no problem.
Without adding usr/local/lib to the LD_LIBRARY_PATH I get the error
message described