Displaying 20 results from an estimated 3000 matches similar to: "restful_authentication errors"
2010 Dec 27
4
Crazy routes
Hello!
I''m using restful_authentication and I would like to have diferent views
for logged users and not logged users. Logged users can edit and create
items, and not logged user could only list items and show its features.
In my routes file I have:
map.namespace :admin do |admin|
map.resources :items, :controller => "admin/items", :path_prefix =>
2006 Aug 30
0
Anyone using "restful_authentication"
I had installed acts_as_authenticated and once that was working good
and felt I understood it I went ahead and tried
restful_authentication. Page says it''s based on AAA. I see some of
the functionality is not included though such as the activation code.
Can I just write it in myself ?
TIA Stuart
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2009 Oct 14
6
Combining rails intrAnet and public site.
Hello, everyone!
I was wondering if somebody has some insight on this issue.
[h]A little background:[/h]
I work for a midsize electronic manufacturing company with 2 people in
IT dept - a network admin and a developer (me).
We''ve been using rails to migrate from an old dBase and VB based system
to build internal company IntrAnet that does things like label printing,
invetory control,
2008 Mar 14
1
how do I get a older version of restful_authentication
I''m currently running rails 1.2.6 and I''ve got the new
restful_authentication running, unfortunately, the new version of the
plugin does not support the older rails very well.
how can I get an older version of restful_authentication (pre rails
2.0.2)?
I''m getting this error:
undefined method `authenticate_with_http_basic'' when I put
"include
2010 Oct 08
7
90% of documentation outdated?
I have been trying for a few days to set up a basic user registration/
login system with rails 3 and nearly every single piece of
documentation is outdated. Restful_authentication has several git
branches, none of which appear to result in a working installation.
All of them leave me with "could not find generator authenticated".
With Devise: "could not find generator devise"
2010 Sep 16
3
Resyful authenticatio current_user in model
Hi,
I am using Restful authentication for user authentication.
I want the current logged in user object in my model property.rb
Problem is current_user is not working on model.
How can I fix this I need that?
Please help me out.
Thanks,
Mike
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2007 Dec 30
1
restful_authentication plugin + session timeout + single login session?
Hi,
I am using restful authentication plugin
1) I was wondering if there is a way to do a session timeout using the
restful_authentication.
How do I hack it to get the behaviour I need?
2) On top of that, I may need to ensure that a particular user can
only login from a single PC. If the user is already logged in at a PC
and attempts to login from another PC, the session in which he signs
in
2009 Sep 24
13
Rails Authentication Tutorial
Does anyone know a good authentication tutorial they can suggest? I''ve
tried several restful authentication ones and an authlogic one on
RailsCast. But with each one I try, something seems to be missing in
the tutorial and I can''t get it to work. I''m new to Rails so it''s
possible user error on my part.
I''m on Mac OS X 10.5 and I generate all my apps in
2007 Aug 04
2
Modifying the restful_authentication plugin / Classes creating instances of themselves.
Hi,
I''m trying to modify the restful_authentication plugin so that it
first authenticates against LDAP (Active Directory), if successful, it
tries to find a matching user with the same username in the database,
through a model ''user''. If it finds a user, it updates a last_login
attribute; if it doesn''t find one, it creates one. The "remember me"
2007 Oct 26
2
Examples of writing controller specs that use authentication
Hello,
I''m working on specs for a controller that handles authentication
using the restful_authentication plugin. I''m trying to find a
resource (tutorial or examples, if possible) about the best way to go
about writing mocks and specs to make sure that things like my
before_filters are working correctly. Does anyone know of any good
resources for this?
Thanks,
Les
2007 Dec 16
2
restful_authentication: update of users' attributes on every page load upon 'Remember me' being enabled?
Hello there,
I just noticed a kinda weird thing: if users log in with the ''Remember
Me'' option enabled, their records in the db get updated everytime the
user reloads a page, because apparently restful_authentication''s code
updates the remember_token_expires_at & remember_token attributes for
each page load (not only once on the actual login (from cookie).
2007 Aug 21
2
using restful_authentication current_user inside controller specs
I''m using restful_authentication in my app and I have the before filters in
my application rhtml:
before_filter :login_required
around_filter :set_timezone
around_filter :catch_errors
Currently I have them commented out while rspec''in but I''ll need to add them
in my specs.
def create
@ticket = Ticket.new(params[:ticket])
@ticket.user = current_user
if
2008 Sep 12
1
restful_authentication rspec failures "Mysql::Error: Incorrect datetime value:"
I am getting 193 failures that all have "Mysql::Error: Incorrect
datetime value:"
how do i fix this??? i am new to rspec and restful_auth, so if i am
doing something wrong, let me know!!!
windows xp
rails 2.1.1
rails testproject
cd testproject
# create my databases and edit database.yml
git init
git submodule add git://github.com/dchelimsky/rspec.git vendor/plugins/
rspec
git
2007 Sep 03
13
Some basic questions
1. I have a text area in which I type on multiple lines..but when I
display it, it prints whole text in one line..how can I solve that?
Datatype is TEXT
2. I can see a list of all posts at ..post/ with index method but I want
to see a particular post with ..post/[id] .. how can I do that?
3. I want my application to be completely secured and whatever page
unlogged in user tries to open, it
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
2008 Jan 17
0
It seems to be a restful_authentication bug (was Re: Re: named route new_session not working)
On 1/16/08, Jimmy Palmer <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
> sorry for the ambiguity. I will work on being more descriptive. :)
>
> In the method access_denied in the file authenticated_system.rb from
> restful athentication, it generates this:
>
> def access_denied
> respond_to do |format|
> format.html do
>
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
2008 Sep 18
1
user_observer (restful_authentication) causes failure in loading rails
I have restful_authentication in use on an app and it has been working
fine, but I recently was changing the account creation flow and needed
to enable the UserObserver. I did so by including it in the
environment.rb (config.active_record.observers = :user_observer) and
Rails wouldn''t start.
I got the following error;
source/communitysites/vendor/rails/activerecord/lib/active_record/
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi:
I am using authlogic, and following railscast tutorial. I am running
into this error code with the password confirmation.
authlogic password confirmation is too short
Has anyone experienced this error? I need your help.
Thanks in advance for your help.
2011 Feb 22
2
Problem installing restfull authentication
hi
trying to use restfull authentication, but getting the folloing error
script/plugin install
http://github.com/technoweenie/restful-authentication.gitrestful_authentication
Plugin not found: ["
http://github.com/technoweenie/restful-authentication.git",
"restful_authentication"]
can someone help please
thanks
--
You received this message because you are subscribed to