Displaying 20 results from an estimated 35 matches for "ssl_require".
Did you mean:
ssl_required
2006 Jan 23
1
ssl_requirement plugin: how do I override ssl_required?
The ssl_requirement plugin indicates that I can override the
ssl_required? method. I want to use this facility to ignore the ssl
requirement declarations when RAILS_ENV is anything other than
''production''.
My question is, where do I override this?
The relevant readme is:
http://dev.rubyonra...
2007 Dec 04
1
ssl_required being ignored?
Hi everyone! I want to require SSL for a single action in one of my
controllers (for logging in, and sending a password).
Working off of the skateboard book, I have added:
include SslRequirement
to my application controller, and then in the login controller, I have
added the line:
ssl_required :login
This does not give me any errors, but it does not redirect me to https
either. It simply acts like it did before I added those two lines.
What have I missed?
I believe ssl is working on my server, as I can actually change any
address in my app to https instead of http, and it works fine,...
2007 Jun 16
2
Specs don''t find modules when using the secure_actions or ssl_requirement plugin
Hello,
I''m trying the secure_actions plugin (or ssl_requirements)
I''m installed the plugin, and added the include in application controller:
class ApplicationController < ActionController::Base
include ExceptionNotifiable
include AuthenticatedSystem
include SecureActions
...
but when I try to run the specs I got this error:
/home/edgar...
2008 Jun 12
2
SslRequirement Problem
Hello everyone,
I''m pretty new to the RoR''s thing and am having a problem setting up
SslRequirement plugin.
I have installed the SslRequirement plugin and added it to my
application_controller.rb with include SslRequirement
However, when I try and do "ssl_required :process_payment"
I get the following error:
undefined method `ssl_required'' for PaymentController:Class
For some reason it''s not seeing the ssl_required method.. any ideas??
thanks,
nyte
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~--...
2011 Mar 11
2
ssl_requirement plugin still maintained?
I was looking at the "official repository" for ssl_requirement at
https://github.com/retr0h/ssl_requirement, and the last commit was in
2008. Is this plugin still maintained? If not, what''s the current
equivalent for Rails 3?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To po...
2006 Mar 30
4
SSL Requirement plugin
Is there any way to have the plugin require SSL to be used for all
actions in a controller and just specify the ones you dont want to
require SSL using ssl_allowed?
class ApplicationController < ActiveRecord::Base
include SslRequirement
ssl_required *.*
Many thanks.
Also I could of course combine this with local.request? so that when
developing locally http is allowed, but when in production the
ssl_required kicks in.
--
Posted via http://www.ruby-forum.com/.
2009 Oct 17
1
Routing Error if using ssl_required
Hi everyone,
I am running into a routing error when activating ssl.
Everything works fine, when I put
ssl_required :index
into the controller I get a routing error
Routing Error
No route matches "/meinkwikit" with {:method=>:get}
I installed the ssl plugin and put include SslRequirement into my
application_controller.
Does anybody know what I am doing wrong?
Thanks in advance
Adam
--
Po...
2007 Jun 26
4
Fake SSL in specs when using ssl_requirement plug-in
Hi
I''ve used the ssl_required line from the ssl_requirement plug-in at
the start of a controller for SSL. Its implemented as redirects so I
can spec this...
describe "GET /gap/get_qote" do
controller_name :gap
it "should redirect to the HTTPS version of the action" do
get '...
2006 Apr 15
0
ssl_requirement, https, webrick and ruby
My Rails application passwords were travelling over the network as
plain-text. Maybe the users wouldn''t like it (I surely wouldn''t), so I
decided to use some kind of encryption.
I have done my little research and found the ssl_requirement Rails
plugin and installed it. But when I try to access a secured page, I
can''t establish a connection to the server. I thought this would be
because my development webserver (webrick) wasn''t supporting
HTTPS/SSL.
What I really want to have is a server-independent way of havi...
2006 Nov 20
4
ssl_requirement not working
Forgive me if this isn''t 100% rails, but I''m trying to get
ssl_requirement to work and it sends my app into an infinite loop
because @request.ssl? is always returning false, even if I''m using
https://
For some reason, my @request isn''t getting any SSL info: neither
@request.ssl? nor @request.env["HTTPS"] return true.
I''m using po...
2008 Mar 17
0
ssl_requirement problems - https --> http
I am having problems with the SSL Requirement plugin.
It redirects to HTTPS no problem.
Problem is when I want it to leave HTTPS it stays!
Have put the following in apache ssl config:
<VirtualHost *:443>
ServerName codegarden.co.uk:443
ProxyPass / http://localhost:4003/
ProxyPassReverse / http://localhost:4003/
ProxyPreserveHost On
RequestHeader set X_FORWARDED_PROTO
2010 Aug 17
1
how to get plugins to load
I un-commented the following in my environments.rb file
config.plugins = [ :all, :exception_notification, :ssl_requirement]
but I get the following errors:
in `ensure_all_registered_plugins_are_loaded!'': Could not locate the
following plugins: exception_notification and ssl_requirement
(LoadError)
from
/Users/mitch/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/plugin/loader.rb:44:in
`load_plugins''...
2007 Oct 13
3
Endless Redirects with Ssl_Requirement
I''m running an application on mongrel with apache 2.2.3. SSL works
fine when I enter an https manually. But when I use the plugin, I get
an endless redirect.
Got the same error when I tried running the following simplified
version of SslRequirement from within an action:
unless request.ssl?
redirect_to "https://#{request.host}/#{request.uri}"
end
So there must be a
2009 Jan 22
0
script/plugin and polluted(?) sources
I recently had trouble installing the ssl_requirement plugin.
script/plugin said it couldn''t find ssl_requirement.
I "solved" this by running "script/plugin discover" and accepting the
addition of a bunch of other repositories. The script could then
discover and install ssl_requirement.
BUT: It wasn''t the sa...
2009 Jun 29
2
Mongrel Malformed Request error - help!
...e I''m working on
to work...
All gems are in place, MySQL etc.
However - I am stuck on this error form Mongrel:
HTTP parse error, malformed request (127.0.0.1):
#<Mongrel::HttpParserError: Invalid HTTP format, parsing fails.>
The only thing it could be, I think, is we are using the SSL_Requirement
plugin.
That is redirecting to an https page and thats the last thing that
happens before mongrel shows this error.
I have never seen this before, and google searches are not showing up
much that is helpful.
If anyone has any pointers, would be much appreciated!
Thanks
--
Posted via http://...
2008 Feb 24
3
params checking in controller before real action
I want to perform certain action in controller based on request
parameters. Is there some way to access params in controller before a
real action? Like in following code:
class UsersController < ApplicationController
# params[:type] in here does not work
ssl_required :create if params[:type]=="something"
def create
# params[:type] works in here.
end
end
If not, what''s the best way to do this?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are...
2011 Feb 18
1
Rails plugins new official maintainers
...ithub.com/andhapp/asset_server)
Anuj Dutta
Rishav Rastogi
in_place_editing (https://github.com/amerine/in_place_editing)
Mark Turner
Devdatta
upload_progress (https://github.com/rishav/upload_progress)
Rishav Rastogi
token_generator (https://github.com/bbommarito/token_generator)
BrianBommarito
ssl_requirement (https://github.com/retr0h/ssl_requirement)
Lars Smit
John Dewey
Steven Soroka
scaffolding (https://github.com/KeysetTS/scaffolding)
Brandon
http_authentication (https://github.com/dshimy/http_authentication)
Darian Shimy
Lars Smit
auto_complete (https://github.com/david-kerins/auto_complete...
2007 Jan 29
2
Secure Actions Plugin
Hi all,
This plugin lets you specify which actions *must* be run under ssl
(https). If a declared action is run without ssl, the user is redirect
to https. Also, once you declare an action to "require_ssl", any links
to that action are going to be https:// links.
http://svn.ianwarshak.com/plugins/secure_actions
Hopefully you all will find this useful.
Ian
2011 Mar 26
2
Rails 3 + SSL
After reading tons of posts about buying certs, etc, I''m still
confused. Please point me in the right direction. Here''s the
question:
I have a rails3 site (www.mysite.com). I want to have some pages use
ssl, and some not. It appears the require_ssl approach is pre-Rails3
and there are other alternatives. Most of the posts I read talk about
using a diff domain for ssl
2008 Jan 17
6
Apache22+mod_proxy+mongrel+ssl
I am trying to move a Rails application, that uses SSL, from an
Apache/FastCGI stack, that works fine, to Apache22 and mongrel
working with a single mongrel instance (i.e., not mongrel cluster, yet.)
I have a single mongrel instance demonized and working fine on http,
on port 3000. Apache/OpenSSL/certs working fine.
Here is my test http.conf (deliberately kept as simple as possible):