Displaying 20 results from an estimated 900 matches similar to: "serving xml"
2010 Jan 29
4
simple captcha image not displaying
Attached is an image of my problem but here goes.
Installed RoR to run Raillist. I installed it per instructions and
everything seems to be working great except I can''t get my captcha
images to show
I am not sure what the problem is as I am a complete noob to RoR.
Any pointers towards a direction to fix would be greatly appreciated!
If you need to the site address is secondlist dot org.
2007 Feb 18
6
Simple Captcha for Rails
check out the simple captcha plugin for rails...
http://expressica.com/2007/02/06/simple-captcha-released-the-captcha-for-rails-applications/
it is really simple to implement, just need one line of code in view and
one line of code in controller or model as required. And it provides
multiple image styles to be selected from.
--
Posted via http://www.ruby-forum.com/.
2009 Dec 07
3
captcha
Hi all,
I want to implement a captcha on my register page to help weed out any
''non-human'' visitors.
I was told to check out http://expressica.com/simple_captcha/ but the
site isnt responding.
Does anyone have any other reccomendations that are tried and tested &
successful?
Many Thanks
--
You received this message because you are subscribed to the Google Groups
2010 Feb 03
7
could not find rmagick locally or in a repository
I unzipped simple captcha in vendor/plugins
Then I did
>rake simple_captcha:setup
Gave error:
rake aborted!
no such file to load -- RMagick2.so
SO I thought Rmagick has to be installed.
So downloaded
2.12.0 binary gem for Ruby 1.8.6 DT 2009-10-04 16:05
RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip
Unzipped the file
Ran ImageMagick-6.5.6-8-Q8-windows-dll.exe
It installed the program in
2008 Sep 20
1
simple_captcha does not work in test environment
Hi,
I have been using simple_captcha and it works fine and make myself
happy. When I moved my app to test environment, It does not throwing
message when the letters in the image does not match with the user
entered text and it works well in my development environment. Can
anyone tell what will be the problem or How should I overcome this?
And I am afraid of use it continuously for my
2009 Mar 02
3
Simple Captcha setup problem
$ rake simple_captcha:setup
rake aborted!
libMagickCore.so.1: cannot open shared object file: No such file or
directory - /usr/lib/ruby/site_ruby/1.8/x86_64-linux/RMagick.so
(See full trace by running task with --trace)
how can I fix it?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2010 Aug 18
1
upgarde from rails 2.3.5 to rails 2.3.8
Hi
I upgraded my rails application rails 2.3.8 from 2.3.5 like below
gem install rails -v=2.3.8
Now in environemnt.rb RAILS_GEM_VERSION changed to ''2.3.8''. Now
when I tried to a previous migration like
rake db:migrate VERSION=20100714122104
I got warning like
DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks,
vendor/plugins/paperclip/tasks,
2008 Dec 28
7
2.2.2 simple_captcha upgrade error
So thanks to Craig, i got up and running on rails 2.2.2, though now i''m
dealing with a whole new can of worms. I''ve done a good bit o searching
and haven''t found any solid leads. I''m using the simple_captcha plugin
on my site, and all is well until i call that plugin.
http://www.pastie.org/347721
ActionView::TemplateError (undefined method
2011 Sep 09
9
Captcha conception
Hi guys, the next problem:
I create a controller, (/controllers/rmagick_controller.rb), which have
aim to test an captcha
Actions:
def download # creates an captcha image
def show # show the page where image took place
def check # must check right captcha or wrong
views/rmagick/show.html.erb:
> <div id="captcha">
> <p><%= image_tag download_rmagick_path
2008 Mar 19
2
Stub / Mock - A little guidance?
Hi there,
I''m still trying to wrap my head around when to use a stub and a mock.
If I understand this right, I should be using a ''mock'' when imitating
an object, but not its behavior. I should be using a stub when I want
to imitate the behavior of an object. Does that sound about right?
With that said, I''m struggling a little trying to spec out this
instance
2007 Oct 24
1
simple_captcha + model
Hi Experts,
l have model called User
class User < ActiveRecord::Base
apply_simple_captcha
end
in view
<%= show_simple_captcha(:object=>"user") %>
in controller
@user = User.fiind(params[:id])
if @user.valid_with_captcha?
if @user.update_attributes(params[:use])
--------
else
---------
end
else
--------------------
end
as per this
2010 Sep 10
2
Simple_captcha issue
I have a weird issue .I am using simple captcha in forms in my rails
applications. If I am using one captcha in a web page I don''t have any
problem. But I have a scenario of using three(3) forms in one page in
which all the three forms will have the captcha . So that when I
refresh the page the captcha data of the three forms are equal.
When we come to database
2009 Nov 06
2
Apache Not Serving, But Is Serving?
Hi;
I installed
yum install mod_python
and all went well. So I thought it would be appropriate to reboot apache
apachectl -k restart
and it appeared well but the pages don't load (they hang). Nevertheless,
# ps wax|grep httpd
12179 ? Ss 0:00 /usr/sbin/httpd
17698 ? Z 0:00 [httpd] <defunct>
17703 pts/0 S+ 0:00 grep httpd
So what gives? Please advise.
Victor
2007 Feb 16
1
static file serving
Hi,
I''ve got 40 mongrels running across 4 machines with a hardware load
balancer as a proxy. The mongrels serve everything, even files.
How screwed am I if I have a 2MB file on my site? Say 40 people are
downloading that file. Are the mongrels completely locked up?
Joe
2007 Aug 10
1
serving static files
It seems that Merb is sending static files with Mongrel::DirHandler.
(mongrel_handler.rb:52)
if get_or_head and @files.can_serve(path_info)
# File exists as-is so serve it up
MERB_LOGGER.info("Serving static file: #{path_info}")
@files.process(request,response)
I haven''t done benchmarks and I''ve hardly glanced at DirHandler''s code
but the
2006 Apr 14
1
[OT] Serving Multiple Stylesheets
I was wondering whether there is unbearable overhead involved in breaking css
into multiple stylesheets? I''m running lighttpd, and the following article
discusses why one might want to do that:
http://justinfrench.com/?id=141
My CSS is beginning to get a bit lumpy to digest in one glance and the
article(s) seem to make a cogent argument for separating functional elements
out. I just
2006 Mar 01
1
upload file above /public, authenticate before serving?
I have file uploads to the database and stored in a longblob working on
our client extranet, except that it kills mysql/activeRecord on files
bigger than about 200kb. (is there a reason for this - running mysql
5.0.18, lighttpd or webrick on winxp??)
So I''m now thinking about whether its possible to do either:
1) upload a file into #rails_root/some_folder/ instead of
2006 Mar 14
3
Lighttpd stops after serving 2 requests.
I made a clean install of my system yesterday, and installed ROR and
related items using the script from nubyonrails.
Now whenever I start the server, it stops after a couple requests. If I
force it to start using webbrick, it works OK. I even created a fresh
rails app to test it and I continue to get the same problem, so the
problem is definitely not in the code.
Does anyone know what the
2007 Dec 29
0
[SECURITY] Patch For Bug Serving Arbitrary Files
This is a proposed patch for the security hole reported today. You can
just add the test for @path being at index 0 in the exanded req_path as
shown below. Take heed of the comment I''ve added too, and there was a
test for this very attack in the unit test suite, so it was removed by
someone as well. I didn''t test this but I''m pretty sure it''s the fix.
===
2006 Feb 12
0
problem serving files which start with newlines
I''m working on a rails app that stores files in a database and allows
users do download them again. But when a file starts with newlines they
get lost in the process and the browser marks the download as failed
because the received filesize is smaller then the expected filesize (the
difference is exactly the newlines missing).
To reproduce this place something like this an a