Displaying 4 results from an estimated 4 matches for "users_roles".
Did you mean:
user_roles
2006 Jul 25
0
Errors logged but not returned to browser, WEBrick hangs
...57:46)
[GET]
Session ID: ae65e0035db2a018aa8f58178aa67778
Parameters: {"action"=>"edit", "id"=>"11", "controller"=>"admin"}
required_perm is admin/edit
Permission Load (0.000000)
FROM permissions, roles,
permissions_roles, users_roles,
users
WHERE users.id = 4
AND users.id = users_roles.user_id
AND users_roles.role_id = roles.id
AND roles.id = permissions_roles.role_id
AND permissions_roles.permission_id = permissions.id
AND permissions.controller = ''admin''
AND permissions.action = ''edit''...
2005 Dec 17
4
user engine: Role.count() is zero in tests
Subject pretty much says it all. When user_engine#check_system_roles is
called, it discovers that Role.count is zero. However using
script/console to execute the same query reveals three users.
N.b., this does not happen in the actual application; only when running
tests.
Any help is appreciated.
Thx
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
2
tests and login_engine
Hi there,
I just started writing tests today after some months of using rails (slap wrists).
I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine.
all my assertions come back with:
Expected response to be a <:success>, but was <302>
Is there a way I can login from within a test?
2006 Jan 31
11
ez_where plugin updated features.
Friends-
I wanted to let people know that there is a new experimental release
of this plugin. I would love feedback on syntax and features. There
is now a full test suite with fixtures that covers all the available
syntax. Look at the test suite for more syntax possibilities. There
have been many additions since my last release. Fabien Atelier has
been working on this with me and has