similar to: Simply Rich Authenticator Released

Displaying 20 results from an estimated 700 matches similar to: "Simply Rich Authenticator Released"

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
2010 Jul 08
4
testing authentication with basic_auth
hi, I''ve got an api which is using authenticate_or_request_with_http_basic What are you guys using to test this? I''m using rspec, and before I was using rspec-rails, I was using authorize from Rack::Test to do the authentication. However, authorize clearly doesn''t work when using rspec-rails, so I''m wondering what everyone else is doing? -- You received this
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 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 25
18
rescue_from ActionController::RoutingError II
OK ... so I''m not supposed to use it but ... Why doesn''t rescue_from ActionController::RoutingError work witht he code from http://www.rubyplus.org/episodes/20-Extended-RESTful-Authentication-Rails-2-App.html class ApplicationController < ActionController::Base helper :all # include all helpers, all the time # See ActionController::RequestForgeryProtection for details
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 Dec 27
17
2.0 & "Agile Web Dev..." book
Just running through the first little project (depot) in ''Agile Web Development with Rails''. It isn''t scaffolding like it says it should in the book. After running: >rails -d mysql depot then SQLing: drop table if exists products; create table products ( id int not null auto_increment, title varchar(100) not null, description text not null, image_url varchar(200)
2009 Jan 12
5
Restful Authentication Uninitialized Constant in Production...
rake db:migrate RAILS_ENV=production rake aborted! uninitialized constant User::Authentication The preceding I encounter when attempting to migrate to the production database. My google powers have escaped me. Everywhere says Restful Authentication is missing in the production server. However, to validate this, I attempted this on the same server as the development, which works. So, what
2008 Apr 05
3
MySQL Unit Test Login Failure
I just recently started having issues running unit tests for my application, but can''t figure out why. When I run rake test:units, I get "Access denied for user ''root@localhost'' using password: NO". My database.yml file is configured to use the ODBC login, but it''s not being passed to my unit tests. Any ideas? development: adapter: mysql
2008 Mar 15
4
* Please help a RoR Newbie!!*
Hi Everyone! I''ve only just started with Ruby so am a touch lost. THis morning i downloaded the quick win (locomotive) and, once i swith that on, I can view the Ruby start page at localhost:3000 My problem is, I''m not that great with finding my way round terminal. I can do basic cd .. etc to view files, but am VERY LOST!! :-) the Ruby page says: # Create your databases and
2008 Jul 30
4
AssociationTypeMismatch: Genre expected, got String
Hi all I have the following 2 models: class CompactDisc < ActiveRecord::Base belongs_to :genre end class Genre < ActiveRecord::Base has_many :compact_discs end I have created a select box for my form so I can choose a genre for every compact disc: <p> <b>Genre</b><br /> <%= f.select :genre, Genre.find(:all).collect{|p| [p.name, p.id]}, :selected =>
2006 Sep 09
2
request to have dovecot authenticator driver 'officially' included/supported
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi all, per the exim docs @: http://exim.org/exim-html-4.62/doc/html/spec_html/ch36.html a cyrus_sasl authenticator driveer is 'included' in exim core. given that Dovecot has become a very attractive alternative for an increasing number of folks, and there's a patch against exim 4.43 here:
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/.
2005 Dec 15
2
Passing parameters to before_filter methods
I have a method that checks for a given role. I want to write something in my controllers like before_filter :check_roles(''admin'') Which will ensure the current user has the admin role. Is it possible to pass parameters in this way? Ian
2006 Feb 20
1
Using :except or :only on a before_filter block
Hi all, How do you use :except or :only conditions on a filter block? I can''t seem to work out the syntax! I''m currently doing: before_filter { |c| c.role_required ''admin'' } Thanks a lot! Tom
2007 Dec 29
2
needs to have method `_load'
I''m getting an exception that I''m fairless clueless about. It occurs when I run a "create" action but neither my action or before filters are hit before this exception. I''m hoping someone can give me a clue. I suspect it has to do with marshalling objects in the session - maybe TzTime is not capable of being stored in the session. I hope that''s not the
2008 Jan 18
15
scaffold :product missing in Rails 2.0.2 version of depot tutorial?
I am getting an error when I try to run the code for the depot application (page 67 in the Agile Web Development on Rails book, 2nd edition). I built the complete depot app with Rails 1.2.6, and all worked well. I then updated to Gem 1.0.1 and RoR 2.0.2, and attempted to repeat the tutorial, and got this strange behavior. I used "rails depot --database=mysql" because I have not
2013 Jun 27
0
CentOS 5.9 and google-authenticator
I'm playing with google-authenticator libpam https://code.google.com/p/google-authenticator/ It appears to be failing the "make test" on CentOS 5.9 32bit. ./pam_google_authenticator_unittest Testing base32 encoding Testing base32 decoding Testing HMAC_SHA1 Loading PAM module Running tests, querying for verification code Testing failed login attempt Testing
2020 Jun 05
0
Google authenticator on C8
Hi folks I have installed Google authenticator on a few C8 boxes This is working fine on all of them except one... - google-authenticator is installed and the box is added to my Android app - /etc/pam.d/sshd contains auth sufficient pam_google_authenticator.so - /etc/ssh/sshd_config contains ChallengeResponseAuthentication yes - sshd restarted When logging in, I'm prompted with the
2005 Mar 04
0
Samba as user authenticator for Windows systems
Hi Everyone: I am checking to see if there is a way to use Samba as a password server. specifically, I want the following: when someone who is logged on using windows 2000/xp/98 and changes their Win2000/xp/98 password, it also changes the password on Samba/Linux automatically. Any ideas/suggestions? I think that if I use the Samba server as a PDC and have the Windows clients login to the