Displaying 5 results from an estimated 5 matches for "role_requir".
Did you mean:
role_required
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
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
2009 May 01
5
Layout antics
...or output):
Processing OperationsController#css to css (for 127.0.0.1 at
2009-05-01 06:07:26) [GET]
Parameters: {"id"=>"menu"}
ActionController::UnknownAction (No action responded to css. Actions:
access_denied, check_group, check_roles, create, destroy, edit, index,
new, role_requirements, role_requirements=, show, toggle, and update):
Does anyone have an idea of where to look or have you seen this error
before?
Nothing dynamic is changing in the layout file to my knowledge. This
error occurs if I call that page directly, or if I get there through
the application (operations...
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!
--
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