Displaying 20 results from an estimated 48 matches for "user_engin".
Did you mean:
user_engine
2006 Jan 19
4
UserEngine - rake bootstrap aborted => undefined method `synchronize_with_controllers'' for Permission:Class
...ting up UE, when attempting to run the rake
bootstrap method I get the following error:
undefined method `synchronize_with_controllers'' for Permission:Class
My environment is
Rails 1.0.0
Ruby 1.8.2
WinXP
WebBRICK
MySQL 4.1.14
I found the following in a thread about making changes to the
user_engine/app/models/permission.rb and have done this:
BEFORE CHANGE:
# we need to load all the controllers...
controller_files.each do |file_name|
require file_name #if /_controller.rb$/ =~ file_name
end
AFTER CHANGE:
# we need to load all the controllers...
controller_files.sor...
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there,
I''ve just installed login_engine and user_engine from the repositories,
followed the setup procedures as documented in:
vendor/plugins/user_engine/README
But I''m getting the following failure:
vince@vaio:~/Projects/Booking$ rake bootstrap
(in /home/vince/Projects/Booking)
rake aborted!
undefined method `edit'' for class `User...
2005 Dec 25
2
How do I install user_engine & login_engine?
Hello,
I have a Mac & PC and want to install these plug-ins.
I do not understand the svn, what commands do I use?
Thanks
Frank
2006 Jan 03
7
best authorization?
Hello,
I want to allow some users to manage other user accounts, but do not want them to manage the admin account.
I have tried auth_generator, login_engine and user_engine
I am having a hard time gettign this to work.
Looking for advise and help.
Thanks
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/3f48b351/attachment.html
2006 Jan 11
14
User Engine/General Engine issues
...nning fine, no
problems. Now, on to the user engine.
After fixing the needed stuff in the bootstrap task so it loads I''m
able to login as the default admin ok. BUT none of the
views/controllers that are in login/user_controller are being
overridden by the user/user_controller, infact, the user_engine
controller doesn''t seem to be getting called at all!
If I try to do a /user/list it tries to show the right view, but
complains the the @content_columns are null, because the action method
never got called. I put a simple puts("%%%%%%%%") in the
user/user_controller, but nothin...
2005 Dec 31
9
Railspdf plugin problem
...ike this (shown only first message):
*D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5
/lib/active_suppo
rt/dependencies.rb:200:in `const_missing'': uninitialized constant UserEngine
(Na
meError)*
*--etc---*
**
I am using latest preview of InstantRails, with login_engine and user_engine
installed. Seems that Railspdf plugin has confilct with user_engine plugin.
But when i deleted the railspdf directory in /vendor/plugins and started
webrick, it run without any problems.
I am thinking that i am missing something in configuring railspdf plugin
(maybe some settingin environment.rb...
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?
thanks
dorian
--
I do things for love or money
2006 Jun 09
5
ActiveRBAC?
How''s the experience with using ActiveRBAC? For my "next 4 days with
rails" :P I''d like to consider adding Role-based access to the To-Do
List application in the original "four days w/ rails" tutorial.
Just wondering if ActiveRBAC would be a good place to start? Thanks!
For those who are wondering: https://activerbac.turingstudio.com/trac
Cheers
Mohit.
2005 Dec 02
8
UserEngine: stack level too deep
...he UserEngine running.
I have installed the LoginEngine, added the essential lines to
environment.rb / application.rb and application_helper.rb.
Worked fine.
Then I did the same with the UserEngine and when trying to set up the
db:
rake engine_migrate ENGINE=user
I get:
Migrating engine ''user_engine''
rake aborted!
stack level too deep
But... the db-tables seem to created right. And I tried:
rake bootstrap
with the same result:
rake aborted!
stack level too deep
Same when I browse to http://localhost:3000/users/list
"Action Controller: Exception caught"
stack level too dee...
2006 Feb 01
2
Uninitialized constant ApplicationController?
...MySQL, and I''m getting the following error:
=> Booting WEBrick...
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing'': uninitialized constant ApplicationController
(NameError)
from script/../config/../vendor/plugins/user_engine/lib/user_engine.rb:74:in
`included''
from ./script/../config/../app/helpers/application_helper.rb:5
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependenc...
2006 Mar 30
5
Re: How to Password Protect a Controller
Sure, have a look to the login generator (gem install login_generator)
-, then script/generate
It''s very easy to use.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 29
6
Naming Convention for Controllers?
Hello!
I just read DHH''s presentation pdf.
In his examples, he wrote PeopleController instead of PersonController.
I''ve been using singular words in controller''s name.
Which is more common?
Thanks.
Sam
--
Posted via http://www.ruby-forum.com/.
2006 Jan 30
2
Modules, controllers and inheritance
Hi!
I was trying to cleanup my app and I runned into quite a problem. My
controllers in submodule do not seem to inherit things from base
class.
I have following setup:
app/controllers/
application.rb:
class ApplicationController
admin/
admin_controller.rb:
class Admin::AdminController < ApplicationController
include LoginEngine
include UserEngine
2006 Oct 16
0
user engine session id re-generating on post
I get a redirect from user_engine when using
curl -i -X POST -d "<xml_data></xml_data>"
http://<webpage>?_session_id=ABC
If I use
curl http://<webpage>?_session_id=ABC
the GET works fine.If it was a routing issue, I would
expect the GET not to work.I also removed the -i, but no difference.
I...
2006 Dec 26
15
is there a way to not repeat installing plugins?
i seem to be using the same plugins for all my sites and was wondering
if there is a way to make the process easier and faster?
is this what is called by "packing your own gems"?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Mar 02
2
List controllers?
Hi Raileans,
I''m wondering if there''s any way to get a list of all of the valid
controllers in my application. Specifically, I''m doing some funny
dynamic stuff in my routes.rb and wanted to make sure that valid
controllers will always get mapped while things that are not
controllers will go to my other map. I think it would look something
like this in my mind''s
2006 May 05
11
Listing Actions
OK, call me crazy, but am I the first one to want to list out the
actions that are available @ runtime? Anyone else come across this
yet? Am I crazy? Well, yes, but...
--
Posted via http://www.ruby-forum.com/.
2006 Jan 30
1
Introduction & time_zone_select with mapped TimeZone question
...of :time_zone, :class_name => ''TimeZone'', :mapping =>
[%w(time_zone_name name) %w(time_zone_utc_offset utc_offset)]
And I get this error:
undefined local variable or method `utc_offset'' for User:Class
I am using the stable version of Rails and User is part of the
user_engine, but that should make no difference as I did overload the
user-class (and other fields are working)...
I tried a few alternatives to the time_zone_select vars (it''s not
documented in the api exactly what arguments are requested...) like:
<%= time_zone_select(''user.time_zone...
2006 Jan 23
3
running rake commands from rake migrate
Hi there,
How can I run rake commands from a rake migration? I''m looking to run
rake engine_migrate and others commands from a migration in order to
migrate my engines along with my core app. Any advice is appreciated.
Thanks,
Jason
2006 Jun 22
4
Authorization Plugin 1.0 release candidate + 3 test apps
In honor of RailsConf, I''m releasing an authorization plugin with 3
test apps that show you how to use the system. A reasonably lengthy
description can be found here:
http://www.writertopia.com/developers/authorization
I will also be talking about the plugin''s architecture in my RailsConf
talk on Saturday.
Some features:
- Nice English-like way of expressing permissions through