Displaying 20 results from an estimated 10000 matches similar to: "random numbers/characters for a spam preventer"
2006 Feb 14
6
Creating a String of Random Characters and Numbers
I want to create a random string of length n that is made up of
characters and integers. Is there a function in rails or ruby that
allows me to do this?
Thank you my friend :-).
John Kopanas
http://www.kopanas.com
=====================================================================
http://www.soen.info - source of the freshest software engineering
information on the net
2009 Jun 07
6
Missing Template when testing with the Brain Buster Captcha partial
When I run my functional tests, they throw an error with the following
message:
ActionView::TemplateError: Missing template /_captcha.erb in view path
app/views:test/vendor/plugins/brain_buster/views/brain_busters
On line #23 of app/views/contacts/_form.html.erb
20: <%= f.label :message %><br />
21: <%= f.text_area :message %>
22:
2006 Jul 01
3
Captchas in Rails
Hello Everyone,
I was wondering what people on this list were using to generate captchas
within forms on sites they are developing? I know there is a ruby gem named
captcha, but I have seen some others floating around as well.
Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Feb 20
6
Captcha Trouble
Hello Rails, I have a problem.
I would like to use captcha in one of my project. When I did try to
install, this is what I got
$ sudo gem install captcha
Building native extensions. This could take a while...
ERROR: Error installing captcha:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError)
2008 May 22
2
Getting InvalidAuthenticityToken errors quite often
How often is the authenticity token updated?
The latest error that I got was a submittal of a form, an model
validation occured, I click back, make the correction, resubmit the
form, then I get an InvalidAuthenticityToken error.
Somewhat off topic
If a person is using the authenticity tokens is there still a need to
use some sort of captcha?
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
9
How to display numbers or word graphically?
Some blog sites and others (ticketmaster, for example) require you to
read a graphical representation of a word or number to prevent a form
from being submitted programmatically.
I''d like to do something similar on a new site I''m building.
Two quick questions:
1. Is there a standard term for these graphical representations? i.e.
how would I do a google search for this
2006 Apr 12
5
SPAM on rails-list
This is a high traffic list as it is and it is really annoying to see
that SPAM is on the rise here.
I wonder how they can spam the list since each user has to be
authenticated. Do spammers go through the trouble of subscribing to
the list? In any case, this msg is to the list admin...could you
please do whatever it takes to filter this stuff out?
Thank you very much.
-bakki
2006 Jul 19
6
ActiveRecord::RecordNotSaved - bizarre behaviour.
Hi. I get a RecordNotSaved exception when trying to create a user record.
The error:
User Columns (0.005930) SHOW FIELDS FROM users
SQL (0.000465) BEGIN
SQL (0.000466) COMMIT
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
...
As you can see, there''s no INSERT SQL generated, which is the root cause
of the problem.
In my user model, I have the following
2010 Sep 12
11
Rails Commenting, Plugins?
Hello,
I''m looking to add comments to records in my app like Books. So a user
can view a Book and then comment on it...
As a newbie, is this something that I should build from scratch, or
are there any popular Commenting Plug-ins, (Ajax implemented) that
might be worth utilizing?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Sep 14
6
Spam?
Hey Guys,
I just joined this list a couple days ago...what''s up with all the spam?
I maintain about 8 or so googlegroups lists and have never received any
<cross fingers>. Is this something to (unfortunately) look forward to?
--
______________________________________________________________
Clayton Dukes
______________________________________________________________
2009 Jul 21
1
[PATCH server] Fixed db-omatic so it doesn't segfault because of newer qmf api.
---
src/db-omatic/db_omatic.rb | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/db-omatic/db_omatic.rb b/src/db-omatic/db_omatic.rb
index 155ff5e..b5b7b81 100755
--- a/src/db-omatic/db_omatic.rb
+++ b/src/db-omatic/db_omatic.rb
@@ -270,10 +270,10 @@ class DbOmatic < Qpid::Qmf::Console
end
def object_props(broker, obj)
- target =
2008 Dec 13
2
Need Help in converting php encryption decryption code to ruby on rails
Hi guys i found this encryption decryption in php and try to convert
it in rails but i am unable to successfully convert it. So plz help
me. I you write the whole conversion code then it will be great.
PHP code is like this
================
#
#/**********************************************
#**
#** MD5 block cypher
#**
#** Author..: leapinglangoor [
2007 Nov 17
18
Syntax Problem
I admit I am stuck. I am converting a legacy php site to ROR. The old
site uses MD5, a security flaw waiting to happen. I upgraded to AAA
and am adding code in the session_controller.rb file to see if
crypted_password is blank. If it is, crypt and check the password
against the old md5 version and write it in the new crypted_password
field.
Here is my code add on before the logged_in?:
def
2005 Jul 26
3
Generating unique random tokens for ActiveRecord objects
I have an ActiveRecord subclass that needs to generate a random (hard
to guess) token for each record in its corresponding table. Currently
I''m doing something like this:
def before_create
self[''token''] = random_value
while self.class.find_by_token(self[''token''])
self[''token''] = random_value
2006 Aug 14
2
Rails Monitoring, reprise
Last week I posted a question about monitoring Rails applications.
Basically, the java folks at my business cited one of their reasons
for sticking with Java is it''s monitoring tools. After picking some
ears, I found out that the one we''re looking at most is JBoss
Operations Network. And I have to say, it''s pretty neat.
2006 Feb 08
3
OpenRico LiveGrid or similar
Hi
Has anyone used OpenRico''s "on-demand listbox" LiveGrid or something
similar in a Rails app already? How well does it behave?
I''m asking this because I need a scrollable list but the number of
records in the table could be well above 5000. In the past I''ve used
similar "on-demand fetchings" in desktop apps and it was a real
blessing (the
2009 Aug 12
5
Challenge for object_id, Garbage Value
I am facing strange problem.
I have an object @part=MainPart.find(:all)
1. @part.each_with_index do |mainpart,index|
2. <p><%= mainpart.object_id%></p>
3. end
Here problem is that object_id is reserved for rails. Here
object_id field in my table . Now i want to get value <%=
mainpart.object_id%> is giving GARBAGE VALUE. Is there any solution
apart from
2006 Jul 15
2
FieldQuery not returning anything
Hey ..
The QueryParser RDoc page explains to me on how to search for a specific
value in a specific field. This is not working the way i thought it
should be, what am i doing wrong? Here''s an example ..
I''m storing model data in the index like this:
doc << Field.new( "object_id", object.id, Field::Store::YES)
doc << Field.new( "type",
2006 Feb 28
3
Object#id will be deprecated?
I didn''t get the memo on this :P
members_controller.rb:12: warning: Object#id will be deprecated; use
Object#object_id
Line 12 is:
@member = Member.find(@current_member.id)
How _should_ I be writing that line?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2007 Dec 20
5
Refreshing an Image
Hi,
I''m trying to refresh an img tag that as a captcha image.
<img src="captcha.php" align="absmiddle" />
How am I able to do this with prototype?
Thanks
N
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email