similar to: testing authentication with basic_auth

Displaying 20 results from an estimated 1000 matches similar to: "testing authentication with basic_auth"

2010 Nov 16
6
rails 3.0.3 and visit_CoercibleString errors
From having no errors with 3.0.2 I now see lots of these errors when running my tests. undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL: 0x000001074f4298> Anyone know what this is? -- 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
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run this: SELECT "schema_migrations"."version" FROM "schema_migrations" vs this ? SELECT `schema_migrations`.`version` FROM `schema_migrations` __ rake db:migrate output __ rake aborted! Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
2008 Feb 05
9
ActiveResource / Creating an API
Hi, I am currently looking at creating an api for a new RESTful app built using rails 2.0. The two solutions I have come across seems to be ActiveResource and ActionWebServices. Although there seems to be plenty of documentation for the older ActionWebServices (both online and in books), this does not seem to be the case for ActiveResource. Does anyone know of any decent articles / screencasts
2007 Dec 29
2
Simply Rich Authenticator Released
Hi, I have developed a mini Rails app using Rails 2.0.2, RESTful authentication and Acts as State Machine. It has the following features: 1. Login 2. Logout 3. User Activation 4. Forgot Password 5. Reset Password You can check out the code from: svn checkout *http*://simply-rich-authenticator.googlecode.com/svn/trunk/simply-rich-authenticator-read-only Happy New Year! --
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
2006 Oct 16
5
New Rails Site: http://www.tanga.com
http://www.tanga.com is where it''s at. We''re planning on open sourcing the e-commerce bits of it sometime in the near future. Any suggestions on how to best do that? (plugin? generator?) A non-video game will be offered for sale at 7 pm PST on Monday, btw. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2007 Dec 26
7
Which is faster: searching in a file or in a database
Hello, I have ten CVS file with about 20000 rows in each. If I want to search in these files for example get every row that has the word "apple" i a column, which is faster: If I read all these ten files into the database and then making search in the database or If I search directly in the files for this inforamtion? Thank you! Please motivate your answer and include a code to make
2009 Dec 23
8
Where did this value in a form come from?
Newb here. I have a form and a value that is being displayed ... and I have no idea where the value came from. I have done a <%= debugger; '''' %> in the form and, indeed, the debugger stops at the statement. I have tried to trace through the code to see where the value came from ... and I gave up. So ... what in Rails initializes the fields of a form? -- Posted via
2007 Jul 12
3
Basic_auth questions
How do you make get the page when using basic_auth? Below is code, I am getting a 401 error. I am not sure if the basic _auth comes before the agent.get. I will appreciate any help. require ''mechanize'' require ''logger'' agent = WWW::Mechanize.new {|a| a.log = Logger.new(STDERR) } page = agent.get(''https://brewx.qualcomm.com/developer'' )
2008 Jun 17
3
Help with error - uninitialized constant AuthenticatedSystem::Base64
I am using restful_Authentication plugin combined with the built-in http_basic authentication Rails 2.0.2 The following code in my controller seemed to work fine, 1. before_filter :authenticate 2. 3. def authenticate 4. case request.format 5. when Mime::XML, Mime::ATOM 6. if user = authenticate_with_http_basic { |name, pass| User.authenticate(name,
2007 Oct 05
3
basic_auth problem since 0.6.9
I have a site that I don''t think "returns" a basic_auth request, but is able to use basic_auth. In the past on 0.6.8, I could use the following code: require ''rubygems'' # gem ''mechanize'', ''=0.6.8'' require ''mechanize'' agent = WWW::Mechanize.new agent.basic_auth("username", "password")
2007 Mar 10
6
ActiveResources 0.1.0 Released
See the blog post at http://blog.lonestarsoftware.net/2007/03/09/active_resources-010-released/ Reading through the rails blogosphere last week, I read a post (which I can not find again) that suggested a completely different approach to AJAX use in rails apps. The idea was to create a Javascript proxy to the ActiveRecord models and allow AR operations to be called from the client. I see this
2009 Aug 28
2
Authorize.net CIM(Customer Information Manager)
Hi all, Please help me out for authorize.net CIM(customer information manager) implementation. thanks -- Posted via http://www.ruby-forum.com/.
2006 Oct 16
4
has many :through, accessing join model attribute (newbie)
from the rails recipes i have a has_many through "working". I can list a user and what magazines he subscribes to. but I can''t seem to figure out how to get the other attributes from subscriptions. (like last_renewed_on) reader_controller.rb def list_reader @readers = Reader.find(1) end ---------- list_readers.rhtml <dl> <dt><%= readers.name %> </dt>
2007 Dec 23
1
multiple scenarios problem
Hi all I just recently started to use rspec and I''m having a problem using multple scenarios in one story. These are the two scenarios, trying to test my implemenation of the new http authentication in rails 2: Scenario "user has to authenticate" do Given "an anonymous user" do end When "visiting", "working_page" do |page|
2007 Dec 09
2
Questions about rails 2.0
Hi, i''ve found some questions on the rails blog which haven''t any answer. Because i''m interested too i paste them here: # gonzo on 07 Dec 22:10: Does CSRF protection work with forms that are fully cached? # rugal on 08 Dec 20:14: Great job guys! Just an information about migrations. will t.timestamps create both created_at and updated_at? And for _on ?
2007 Dec 17
9
Rails 2.0.2: Some new defaults and a few fixes
Now that we have the big Rails 2.0 release out the door, it''s a lot easier to push out smaller updates more frequently. So that''s what we''re going to do. Rails 2.0.2 contains a bunch of smaller fixes to various bugs, no show-stopping action, just further polish. But it also contains a few new defaults:
2006 Jun 13
1
calleridname.agi patch to only overwrite name if it is missing
I edited the calleridname.agi patch to only overwrite the name if it is missing. The asteridex option still overwrites the name since it is our master list for known numbers. -- Steven calleridname.agi.patch: --- C:\Documents and Settings\steveb\Desktop\calleridname.agi-orig Tue Jun 13 14:37:09 2006 +++ C:\Documents and Settings\steveb\Desktop\calleridname.agi Tue Jun 13 14:37:09 2006 @@ -16,6
2004 Sep 09
3
Caller-ID name lookup via anywho.com
Hey all, Did I see something on here about using an AGI script to do reverse lookups via anywho.com? I have a PRI that only gets caller-id number and no Alpha. TIA, -- Daniel Jimenez <djimenez[at]pobox[dot]com>
2011 Oct 31
2
Is it possible to install Gluster management console using manual install process?
Hi, Is it possible to install Gluster management console using manual install process? I mean the management console when installing using the ISO image; by doing the manual install from a base Centos server? Thanks, Xybrek