similar to: Recommendation for a user authentication plugin

Displaying 20 results from an estimated 4000 matches similar to: "Recommendation for a user authentication plugin"

2006 Aug 06
6
View passing empty or no value to controller -- help
Hi, I have the following view: <%= start_form_tag ( { :action => ''find'' }, :method => ''get'') %> <p> <%= text_field_tag :lemma, params[:lemma] %> </p> <%= link_to "Find It", :class => "submit" %> <%= end_form_tag %> And the following find action in the controller:
2006 Aug 05
14
Rake aborted! on No Rakefile Found error
Hello, On a command: rake db:migrate I get the "rake aborted!" error. The message is: No Rakefile found (looking for: rakefile, Rakefile, rakebile.rb, Rakefile.rb) c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in ''load_rakefile'' Checking my setup, I see that Rakefile.rb is in the expected path. Why can''t rake see Rakefile.rb,
2006 May 28
7
Join table not being populated
Hello, I have the usual Categories and Products table scenario, mediated by a Categories_Products join table. When I create a new Product and into a given Category, I notice that my join table is not being populated. Shouldn''t the join Categories_Products table be populated? Thanks, gk -- Posted via http://www.ruby-forum.com/.
2005 Oct 20
2
Salted Login Generator Installation
Hi, I am trying to install the salted login generator from rubygems. I have version 0.13.1 of rails installed. When I try to install the salted login generator (gem install salted_login_generator) it asks: Install required dependency rails? If I select yes it says: RubyGem version error: rails(0.11.1 not >= 0.13.1) and fails. It does the same thing when I try to install the regular
2006 Jul 31
3
Missing controller default code
Hello, I generated a controller, using the command: ruby script/generate controller my_kontroller my_model The generated controller file, however, contains an empty class definition. The default controller code is missing. Any idea what went wrong? Thanks, gk -- Posted via http://www.ruby-forum.com/.
2006 Mar 22
4
Problem with ACL plugin system
Don''t know if anyone else has experienced this but I''m having a problem with the access_denied method in Ezra''s ACL access control plugin. It''s working fine (in conjunction with acts_as_authenticated) until it comes across a user it denies access to, in which case it throws the following error: NoMethodError in Admin#index protected method
2006 Jul 07
13
Rails Recipes Book: Authentication
Hi, The user/login management system in Chapter 31: Authenticating Your Users and Chapter 32: Authorizing Users with Roles of Chad Fowler''s Rails Recipes looks reasonable and adequate. However, when I ran the Chapter 31 code, I get the following error: Username or password invalid And I am not even given the chance to sign in; that is, the signin form does not appear at all. Has
2006 Aug 11
2
Shouldn''t CRUD be CRUDS?
With most models, almost always I find myself writing Search/Find actions. When I view a Listing of a model, I want to look at another record or set of records. How nice it would be if I can do a query-by-example while viewing a Listing, or during Show/Edit/Create. Would be nice if Search becomes another act in the scaffolding magic. This wish has been expressed here before. Since then, has
2006 Jul 03
2
Still struggling with data flow ...
Hello, The following view: <%= start_form_tag %> Enter term to find <p> <%= text_field_tag :name, params[:name] %> </p> <%= link_to "Find", { :action => ''find_term''} %> <%= end_form_tag %> does not appear to pass back the value of :name to the action: def find_term term =
2006 Apr 25
7
undefined method form_for ?
Seems the only issues I ever have with Rails are these bizarre fiddly little things that make no sense. Can''t for the life of me understand why I''m getting undefined method on form_for in a view? And it''s actually part of the acts_as_authenticated plugin that''s doing it. But how can it not know about form_for? -- Posted via http://www.ruby-forum.com/.
2006 Aug 09
10
Next/ Previous record
Hi, Quick question (which means that I think there should be an easy answer)... When I am in the "show" view, I''d like to add 2 links, one for previous and one for next record so that the user can go on to the next "result" without having to go back to the ''list'' of results. However, I can''t find my way about this problem :-S
2006 Jul 04
1
Multiple parent ids
Hi, parent_id is the default name for the self-reference foreign key. What is the convention for naming the second parent id, the third? Thanks! gk -- Posted via http://www.ruby-forum.com/.
2006 May 29
4
Prompting user to enter value to feed Find
Hi, While viewing part of a long list of records, the user may want to do a Find of a specific record (for example, find_by_name). The found record is then displayed using the list view. I''ve searched the wiki and couldn''t find a sample or information that will help directly in implementing this function. Any pointers? Thanks! gk -- Posted via http://www.ruby-forum.com/.
2006 Jul 06
1
Problem implementing password and password confirmation
Hi, I''m trying to implement password confirmation, based on the Agile example, but just can''t make any progress. User DB has these fields: ========================= t.column :name, :string, :limit => 40 t.column :hashed_password, :string t.column :salt, :string User model has: =============== attr_accessor :password_confirmation
2007 May 08
2
Install plugin acts_as_auth.. no access to techno-weenie.net
please help me get this plugin installed... I have no access to techo-weenie.net due to a firewall blocking the weenie crap in its domain name. more specifically, i''m trying to do this: script/plugin install http://svn.techno-weenie.net/projects/plugins and it bombs. On a machine w/ access to this repository, I did an svn checkout and tar''d up the contents... then
2006 Aug 02
9
How to fetch the previous or next record
Hello, Is there some built-in facility for fetching the Previous or Next record from a table? Assume the command find_by_name has been issued, and the variable @name contains the name "John Doe". I''m looking for something like find_next(@name) and find_previous(@name). What''s a good way to pursue if one has to roll their own methods? Thanks for the help, gk --
2006 Jul 04
4
Question about Salted Hash Login Generator
Hi, I am using salted hash login generator to create my login page. In the user_environment.rb file, I saw that there is a comment saying should NOT include the email field in the changeable user fields array. Does anyone know why? > # Add all changeable user fields to this array. > # They will then be able to be edited from the edit action. You > # should NOT include the
2006 Aug 01
1
Re-using a Listing screen form
How do I display subsets of records on a Listing page (that lists in grid form table records)? In particular, when displaying the Listing page, it would be nice to allow the user to display a subset of the records, for example, by filtering. For example, I have the following Controller Listing and Filtering actions: def list @eng_sense_pages, @eng_senses = paginate :eng_senses,
2006 May 23
10
Ruby on Rails: Up and Running
hello, On page 49 of the beta version of Ruby on Rails: Up and Running, the book suggests to download a zip file containing everything that has been done up to that point, and a create_tables_with_data.sql file. The book doesn''t have the link, and I couldn''t find it in the book site. Does anyone know where to get the files? This is a very good book. Thanks. -- Posted via
2006 Jul 11
3
LoginGenerator Killing Me ;)
OK I have dents in my head from beating on LoginGenerator, so if anyone who has used this thing can shed a little light I would greatly appreciate it. It is installed and I have set it up on my User class. Folks can login, logout, etc just fine. I have am not using the per method protection model yet, as I am trying to migrate slowly ;) What is broken though are all my methods that save or