Displaying 20 results from an estimated 8000 matches similar to: "Right way to customize Login Engine"
2006 Jul 04
3
Engine Not Starting
I''ve used login_engine successfully before with webrick, and now using a
provider that uses fcgi. login_engine doesn''t seem to start up, in the
development log file, I get only routing errors for the page requested.
The login_engine unit tests pass fine.
My question is if an engine is not loaded, not in a path, etc, how is
this indicated in rails? None of the log files even
2006 Mar 03
1
weird error with login engine
Any ideas what would cause the following exception (using the login engine):
--------------------------------------
Full executation backtrace:
--------------------------------------
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1697:in
`execute_callstack_for_multiparameter_attributes''
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1677:in
2006 Jan 03
3
Engine and controller layout confusion
Hi all,
Installed the login_engine which is working. But I''m confused as to how I tell
Rails to use the "/app/views/layout" rhtml files, when partials from the
login_engine are used from "/vendor/plugins/login_engine/app/views/user".
Do I copy login.rhtml to /app/view/mgmt?
(mgmt is a controller name in my app)
Along the same line:
I also have a nil error on the
2006 Mar 06
2
Login Engine Missing Source
Hi!
I''m new to Rails and Ruby, so this might be a simple question. I wrote a
simple blog-application using Rails 1.0 and installed login_engine to
add some authentication mechanisms. After following the installation
procedure I get this error when dispatching via FastCGI (ordinary CGI
works):
MissingSourceFile in <controller not set>#<action not set>
no such file to
2006 May 15
2
login engine error
Hi everybody,
I am new to rails.
I get the following error when run the rake engine:migrate for the
engine login_engine.
------------------------------------------------------------------------
gbalaji:~/projects/test/vendor/plugins/login_engine gopalbalaji$ rake
engine_migrate ENGINE=log --trace
(in /Users/gopalbalaji/Projects/test)
** Invoke engine_migrate (first_time)
** Invoke
2006 Aug 09
3
HABTM and getting to arrays from either direction
I didn''t find exactly an answer on this one, so I''d like to get a
clarification from folks who live & breathe HABTM.
class foo
has_and_belongs_to_many :bars
end
class bar
has_and_belongs_to_many :foos
end
(and yes, I have a bars_foos table in my db)
def test_habtm
bar = Bar.new
foo = Foo.new
foo.bars<<bar
assert !foo.bars.empty?
assert
2006 Aug 10
2
check_box form helper questions/issues
I''m using Rails 1.1.x and it looks like the check_box form helper
expects me to provide and object and method so it can determine if the
checkbox should be checked or not. I''m having a couple of issues with
this.
note: I''m using UserEngine and adding a HABTM so that:
class User < ActiveRecord::Base
has_and_belongs_to_many :foos
end
class foo <
2006 Jul 13
1
RailsCron usage question
I''m yet another person looking to do some background Rails processing.
>From post & the wiki, it looks like I should be using RailsCron. So I''m
about to start playing.
In parallel, I''d like to get some opinions re: database access. I have
a table that I''d like to re-fresh periodically in the background. Is it
safe, using RailsCron, to be accessing
2006 May 14
0
login engine -- no such file to load -- authenticated_user
Ive followed the rail engines doc to the letter and I get this error message
It is in the proper direcotry vendor/plugins/login_engine/lib/login_engine
What could be wrong??
Clayton Cottingham
WinterMarket Networks
Phone: (604) 417-3254
Vancouver, B.C. Canada
http://www.wintermarket.net
MSN:drfrog666@hotmail.com
AIM:drfrogrx
-------------- next part --------------
An
2006 Oct 20
1
Login Engine, user object "marshal data too short"?
This suddenly started happening to my app today. No code changes, so I
expect that this has something to do with a server change.
I''m using Login Engine and ActiveRecord sessions. LE stores the whole
user object in the session, then pulls it out as needed with
UserController#current_user.
Out of the blue today this starts failing with the infamous "you''re
serializing AR
2006 Apr 08
1
Problems with Login Engine/rake
Hello,
I have been having problems installing the Login Engine.
I follow all the steps found on the download site (rails-engines.org),
but when I get to the DB_SCHEMA step, I do
rake engine_migrate ENGINE=login in the application root.
"""
C:\rails\cag> rake engine_migrate ENGINE=login
(in C:/rails/cag)
rake aborted!
Don''t know how to build task
2006 Feb 06
0
SAMBA Winbind and AIX and chown not showing ad user id
I changed the separator to + from / and now when I use
users=DOMAIN+mylogin, I get access to a share finally. However, when I
run chown DOMAIN+mylogin testdir, testdir is not set to DOMAIN+mylogin,
it is set to tempfn (temporary id is what the gecos/description says).
In aix land, what do I need to do to get it to use WINBIND to set the
diretory ownership now? My /usr/lib/security/methods.cfg
2006 Feb 05
0
ok - now how to access a share?
I got net ads join to finally work, but I cannot get samba to
authenticate a user to a share.
[global]
workgroup = DOMAIN
netbios name = svcanimp
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
idmap uid = 10000-20000
idmap gid = 10000-20000
idmap backend = ad
use kerberos keytab = yes
# os level = 65
winbind
2007 Jan 09
0
Production Mode with SCGI
Hi,
I have an application running on Apache SCGI (Win XP). Once I run it in
production mode (scgi_ctrl config -S -e production ) I''m getting
stack trace instead of HTTP status 500 (Application Error) and the
error is logged production.log. The application works fine without
SCGI. Your help is highly appreciated....
Thanx
/* production.log */
# Logfile created on Thu Jan 04 16:35:43
2006 Apr 15
3
login_engine database migration broken?
I''m trying to install the login_engine. I installed the engine system
and the login_engine, and now I''m trying to migrate the database schema,
as detailed here: http://api.rails-engines.org/login_engine/.
The commands I''ve tried are:
rake engine_migrate ENGINE=login which fails with "Don''t know how to
build task
2006 Feb 09
0
SAMBA configuration nightmare (AIX) - idmaps do not work (core dump), ldap/nss_ldap and pam fail
Well, I have tried really hard to get any of the idmaps to work--in
that, idmap_ads, idmap_rid, and I have tried to use idmap stroage in
ldap with padl (nss_ldap) too, but I have had no luck. If I enable pam
in /usr/lib/security/methods.cfg or nss_ldap, I cannot log into the
system anymore. If I enable pam in /etc/pam.conf and use in
/etc/security/users SYSTEM = "WINBINd or WINBIND[UNAVAIL]
2005 Dec 08
1
prefetch userdb on 1.0.alpha4
Hi all,
I've a problem with prefetch userdb function on 1.0.alpha4 ?
I get this :
Error: auth(default): ldap(mylogin,10.3.245.xxx): Multiple password
replies
Info: auth(default): ldap(mylogin,10.3.245.xxx):
base=dc=boursorama,dc=fr scope=subtree filter=(&(objectClass=
boursoramaMailAccount)(mailInternalAllowedProtocol=imap))
fields=uid,userPassword
An ldapsearch with the same
2005 Dec 29
2
has_many & belongs_to with Plugins (login_engine)
Hello list,
Probably a newbie question but couldn''t find the answer in the archives.
I am using the login_engine Plugin to implement the login functionality. I
have a JournalEntry model that interacts with the journal_entries table. I
would like to link the journal entries to the user who entered it.
Essentially, it is a one to many relationship between the model User(from
2006 Feb 09
4
Login_Engine: trouble configuring
Hi Guys,
I''m having some trouble getting login_engine to work. I''ve followed the
steps in the README file to the letter (I think) with the exception of
the Mailer stuff and cannot get my application to run. Heres what I have;
module ApplicationHelper
include login_engine
end
#####################################
require ''login_engine''
class
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...