Displaying 20 results from an estimated 4000 matches similar to: "best authorization?"
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 May 09
3
Need Login/Authorization/User Management Advice
I''m new ot rails and am revamping one of my first rails projects and
would like some advice on user authentication and management.
In my app I implemented the basic user login functionality as it is in
the Agile Web Developement book. Though it works great I''d like a bit
more functionality such as: user levels/roles (i.e level1, level2,
level3, admin) type permission,
2005 Dec 29
5
help with installing login_engine
Hello,
I did a script/plugin discover
then script/plugin engine
then script/plugin login_engine
The discover worked, but I get engine and login_engine not found.
I am using a Mac
Thanks
Frank
2006 Jan 19
4
UserEngine - rake bootstrap aborted => undefined method `synchronize_with_controllers'' for Permission:Class
Good day all.
I have successfully installed Engines and LoginEngine and LE is setup and
running correctly.
However, after installing and setting 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
2005 Dec 31
6
What does this error mean when using scaffold?
Last login: Fri Dec 30 15:34:43 on ttyp1
source /private/var/tmp/folders.501/TemporaryItems/Locomotive.
1135999534.992790-16807
Welcome to Darwin!
frank-roccos-powerbook58:~ farocco$ source /private/var/tmp/folders.
501/TemporaryItems/Locomotive.1135999534.992790-16807
frank-roccos-powerbook58:~/Documents/receipts farocco$ script/
generate scaffold receipt receipt
2005 Dec 06
5
How to set a default value?
Hello,
I have a price field that I validate of numbers.
How can I default a 0.0 value?
Regards,
Frank Rocco
farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
2006 Jan 01
5
scaffold not working on Windows XP
Hello,
I did a fresh install of ruby182 and gem rails --include-dependencies
Now when I do:
rails receipts
cd receipts
ruby script\generate scaffold receipt receipt
rails does not create the views or controller.
What can I do?
Thanks
Frank
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 `UserController''
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?
2005 Dec 02
8
UserEngine: stack level too deep
Hi,
I''m trying to get the 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...
2005 Dec 31
9
Railspdf plugin problem
Hi,
For my app i need to generate pdf file for reports. I am trying the railspdf
plugin, got it installed using command:
ruby script/plugin install
svn://rubyforge.org//var/svn/railspdfplugin/railspdf/
The problem is that when i re-started my webrick it won''t run, with errors
messages like this (shown only first message):
*D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5
2005 Dec 08
7
Help shut down webbrick on mac?
Hello,
I just installed radrails and it will not run the webbrick because a
version is already running on my mac.
I do not know how to shut down the mac version.
Thanks
Regards,
Frank Rocco
farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org
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 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 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 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 Jun 30
9
User engine problems with 1.1.4 + Test driven development??!
The following two posts (at the bottom) were posted to engine-
users@lists.rails-engines.org and suggests further issues with 1.1.4
I''m forwarding it here for two reasons:
1. Just a heads-up that 1.1.4 breaks engines that are customised.
login/user_engine are probably almost as widely deployed as Typo, and
if you''ve done any controller-level customisation, 1.1.4 appears to
2006 Jan 23
2
UserEngine -- Permission.synchronize_with_controllers -- trouble with my own controller modules
I suspect there''s an easier version of this question that I could ask,
but I''m not sure where I''m going wrong. I have LoginEngine and
UserEngine setup and seemingly running fine. However, not all of my
controllers are being found when I run "rake sync_permissions".
Specifically, it''s the controllers that are not in the base
controllers folder, but
2006 Jan 06
7
how do I create a change password using sha1?
Hello,
The problem I am having is I have a form where a user can edit their data that does not include their password.
I have another form that I allow them to change their password.
Both forms use the before_update method that hashes the password. There is no password in the first form.
Am I making this too complicated?
How do I call the hash_password for only the second form?
Both forms use
2006 Jan 12
1
Current state of login/authentication engines?
Hello list,
I''m trying to get my head around the current state of the various
login/authentication engines, and can''t get a clear view of what the
available options are, how stable/robust they are, and what are the
pros/cons/capabilities of each.
The specific problem I''m trying to solve is this: I''ve got a bunch of
users, who will need to be authenticated and