similar to: script/plugin and polluted(?) sources

Displaying 20 results from an estimated 20000 matches similar to: "script/plugin and polluted(?) sources"

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.rubyonrails.org/browser/plugins/ssl_requirement/README Also, does this plugin work with a
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
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
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
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
2007 Jan 23
2
SslRequirements plugin and mocha
Hi. I''m loving mocha but have ran into a problem with using the mocha plugin with a project that has the SslRequirement plugin. It seems there is some conflict between the two? Any ideas? $ ruby test/functional/calendar_controller_test.rb /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:478:in `const_missing'': uninitialized constant
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
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 post to this group, send email to
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:
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
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
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys, This is the final list of the new maintainers of each plugin. We need two more things to do: First please the owners of the repos add the rest of the maintainers. Second I will add a note on each rails/plugin mentioning this repos updates. So from now on, if someone else is interested in helping/contributing please send a message to the appropriate repo owner. verification
2007 Aug 21
0
plugin tests
Hi, A couple of plugins such ssl requirement http://dev.rubyonrails.org/svn/rails/plugins/ssl_requirement/ have pre built tests in the /test directory. How can I hook these up into the standard test_helper.rb so they are run when I''m using autotest or just rake? Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this
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 ''get_quote'', :id => "finance"
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 pound/mongrel
2009 Jun 29
2
Mongrel Malformed Request error - help!
I''ve just migrated my system over to a new macbook. I''ve been having a nightmare today trying to get the site 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
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
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
problem: rails 2.3.2 is not generating config.action_controller.session_store = :active_record_store in environment.rb this is the code in environment.rb --------------------------------------------------------------------------- # Be sure to restart your server when you modify this file # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION =
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
I''m trying to use the Ferret DRB server to avoid concurrency issues when using multiple mongrels. I can successfully add and edit data on my index via the DRB server, however, when I search the index, I get the following error: DRb::DRbConnError (DRb::DRbServerNotFound): /usr/lib/ruby/1.8/drb/drb.rb:1647:in `current_server'' /usr/lib/ruby/1.8/drb/drb.rb:1709:in
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