Displaying 7 results from an estimated 7 matches for "ymj".
Did you mean:
mj
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 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
..._;Q%M7P!D&8nw7?jR1pbKsBA&?*8p8-*yoV^BU<Tp|@c
zEJvBRH4XUyB>>s-L5f&Rl!UbP<y(FdjmZ=7wh0fJ{O+B}-n12Z&~_l~+((7`qOg-Z
z++CAM3yup!K)r_r5)ZG`*M0nEJ8<}ujyG1Fnf0!IU3ix};HG52=G(=eHw3v<KjTJD
ztidH7B;{R{n%eoG|FZW<_o~e?b4yL{2P<{2<gO=rJF$D5CUhaT`BC6dp)i!hQhrA3
z16Pd?jM1L3yMj<}>Z};JG=b at YSU7U(S;I`hO%8&PHUx(zSf&Cm%s|@0_IZv%6=HU~
zdn&xtjZoT5ot2(r^x<qru_eDSD5k`7r103V_gHLcxM?ho>(NHy(0-Pv_k{+;ASm28
zZv6t0xl-a|+QJpQ==EZ4$!ah{9&T_kwVBCB)=R_HF4k%&z2GZ-9sVFuC-AfYyc9E3
zs at mlfc3R++ZKP2|BY@`-Ah at +;V^t^fTP7v16Fpjg<zG4RrK7AO@^bKUxz??R$8R;D
zb...
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