Displaying 20 results from an estimated 3000 matches similar to: "SPAM on rails-list"
2006 Mar 09
6
rmagick and captcha
Has anyone implemented a captcha with ruby on rails and rmagick?
I tried this example:
http://wiki.rubyonrails.com/rails/pages/HowtoSecureFormsWithNoisyImages
but I got an error:
undefined method `size'' for #<NoisyImage:0x34d8070>
Thank you
--------------------------------------------------
Rodrigo Dominguez
?
Iplan Networks ???????????????Datos Personales
2006 Apr 21
28
Ruby, Rails & Linux - Which distro ??
Hi,
I''ve been doing most of my initial playing with rails on a windows
system - but wish to switch to a dedicated linux box for this.
Are there any particular distro''s to avoid / recommend. I prefer debian
for my other stuff, but thought i''d ask before going ahead. :)
Cheers
--
Posted via http://www.ruby-forum.com/.
2006 Apr 23
4
Ruby, Rails & Linux - Which distro
Did I sound like our President? :)
<spin>
I didn''t explain myself well. I am not thinking of buying the
identically equipped PC laptop either at the same price.
If I had a $2500-$3000 budget (laptop, Applecare + case etc) I might
consider the Mac, but then in the PC laptop universe there are more
options of going with the slower processors (T2300 or T2400) for about
$1,000 less
2006 May 19
6
rmagick->X11 on MacTel Howto?
I needed to install rmagick/GraphicsMagick on an IntelMac and did so
from Darwinports. Some things work and others don''t work, like
rendering fonts which needs X11 fonts and X server. The rmagick page
at rubyforge points to ..
http://developer.apple.com/opensource/tools/runningx11.html
where X11 link to Apple is broken.
X11User.pkg talked about on the page above no longer exists at
2006 May 16
7
svn-1.3.1 errors on intel mac on checkout
I just installed svn-1.3.1 from .dmg on an intel mac. I am getting ...
subversion/libsvn_wc/log.c:338: (apr_err=155009)
svn: In directory ''sr''
subversion/libsvn_subr/io.c:565: (apr_err=2)
svn: Can''t copy ''sr/.svn/tmp/text-base/README.svn-base'' to
''sr/README.tmp'': No such file or directory
Any one getting this? TIA for any help.
2006 Mar 16
21
RadRails 0.6 out
Since RadRails 0.6 is out (see http://www.radrails.org/ ), I have made a
"celebratory illustrated tutorial" on how to use the Eclipse update function
to do the upgrade from within Eclipse (I found the process a tad confusing):
http://wiki.awebfactory.com.ar/awebfactory/published/UpdateRadRails
saludos,
Victor Kane
awebfactory.com.ar
-------------- next part --------------
An HTML
2006 Jan 10
7
Can only render or redirect once per action - why?
I ran into this error message a quite a few times since my app requires
branching to different pages from the same action... say using a switch
statement. Ofcourse I found that you can use multiple redirects or renders
if you do
render :action => ''new'' and return false
I hate to code something I don''t understand fully. Any explanation of this
will be greatly
2006 Feb 03
5
writing my own generator
Hi all,
I wanted to write my own generator. What would be a good starting point.
Is there any documentation on this, Best practices, etc?
Regards,
Harm de Laat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060203/c64c4730/attachment.html
2006 May 26
4
shouldn''t this work? - session[:array_of_objects].delete_if {|x| x.id == params[:id]}
I am saving an array of active record objects (college courses) in the
session as session[:course_list]. This is the cart for a registration
controller.
If a student chooses to delete the course from the list I get the :id
as params[:id].
However if I do
session[:course_list].delete_if {|x| x.id ==params[:id]}
does not work.
session[:course_list].delete_at(idx)
works. Ocourse to do this I have
2006 Apr 17
6
Is there anyway to make Rails NOT cache?
Is there anyway to make Rails NOT cache? I''m getting caching in the
browser and the server.
I have to restart Lighttpd after every view change to see the results.
Thanks,
phill
2006 Feb 19
2
Asynchronous Encryption?
Hi Railers,
I''m looking for something to do asynchronous encryption - where the encryption
and decryption keys are different. This is for a scenario where I want to be
able to store some information in the database that can only be decrypted in
a different physical location using a secret private key (which will not be
stored on the machine doing the encrypting).
I''m trying
2006 Jan 06
10
I need debugging tips?
Hi all,
Like most other frameworks, Ruby groups code by Model/View/Controller instead
of by task, and therefore I''m having a hard time debugging a problem from the
Agile Rails book where looping through @items errors out because one or more
items is nil.
I managed to empty the cart by placing session[:cart] = nil in find_cart() in
the store_controller_rb, and the problem continued
2006 Jun 16
5
[slightly OT] Problem with subversion 1.3.1 on OSX Tiger
I have a subversion repo on a Debian Sarge server. I do rails
development on two Debian workstations (home, work) and also a
MacBookPro.
I installed subversion from Darwinports. Things worked ok for a while
and I did commits from and updates to all three machines until today.
When I did svn status I noticed a lock on the working dir.
$ svn status
? Rakefile
? readme
! L .
.... etc
I cannot
2006 Mar 14
4
validates_confirmation_of has stopped working
Hi Railers,
I''m past considering myself a noob in Rails land - I think what I''m up against
here is more of a bug or an anomaly that I''m unaware of (or that has changed
in a recent version).
I had a fully working validates_confirmation_of :email_address field in my app
- was one of the first things I set up, extremely simple, been working for a
long time.
Then one
2006 Jan 24
2
Security Code for protecting forms?
Hi all
What''s the easiest way to protect my forms using a security code? Is
there any plugin available for this?
Thanks a lot. :-)
Josh
--
Posted via http://www.ruby-forum.com/.
2006 Jun 28
15
Its here! RubyGems Release 0.9.0
Read about it here:
http://rubyforge.org/forum/forum.php?forum_id=7575
--
Posted via http://www.ruby-forum.com/.
2006 Mar 30
9
script/console not working after Rails 1.1 upgrade
Whenever I do script/console I get an error message:
Loading development enviroment.
c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method
''upcase'' for nil:NilClass (NoMethodError)
from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup''
from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start''
from c:/ruby/bin/irb:13
2006 Jan 03
3
Global functions and variables.
Hey People,
I''m fairly new to Rails and have perhaps an obvious question. I would like
to know if there is a place that I can declare variables and methods that
are globally available to all controllers. My main reason for this is I like
to auto generate select boxes based off of the contents of a hash and would
like to be able to do this in all views in all controllers, so that I do not
2005 Aug 10
5
validates_format_of on an optional field using :if
Hi there,
I''ve got the following in my model:
validates_format_of :postcode,
:with => /^([a-zA-Z]{1,2}[0-9]{1,2} [0-9]{1}[a-zA-Z]{2})$/,
:message => "is not valid",
:if => :postcode
... but it''s not working - it always insists on validation, even if postcode
is empty. Basically, the postcode field is optional, but if it''s filled in, I
want to
2006 Apr 04
1
"uninitialized constant Reloadable" error heads-up
I can''t duplicate this problem on my local machine, but also can''t find any
mentions of it on the Gmane archive, so thought I''d just throw in a quick
mention in case anyone else comes across it.
On Textdrive, using gem rails 1.1, in an app that works fine on my local
machine, I get the following error in my production.log:
"uninitialized constant