Displaying 20 results from an estimated 20000 matches similar to: "Assigning user''s session ID to a sub-table"
2006 Jun 29
0
Assigning user''s session ID to a sub-sub-group
Hi.
I''m using LoginEngine to manage session info.
On this site, I''d like users to be able to create groups, and then allow
other users to sign up. The approach I''m taking is putting a "join" link
on the "show" page for a group, and then adding the user as a member in
the Group controller. There is a sub-table for groups called "members"
2006 Jun 08
2
LoginEngine: undefined method `generate_security_token''
Hi there,
I''m trying to set up LoginEngine with Rails 1.1.2 on Ruby 1.8.4 on a
Windows XP box and the log is reporting:
undefined method `generate_security_token'' for #<User:0x39436a0>
Rendering user/signup
Rendered user/_edit (0.01600)
Rendered user/_password (0.01600)
Rails appears to be failing on key = @user.generate_security_token in
user_controller.rb in the
2006 Jul 28
1
long waiting time for first page due to session[:user]
hi everyone
i am developing http://sprinj.com
it uses a login system, quite simple, really, similar to loginEngine
the problem is that takes way too much time to access the first page. when i
desactive the login system, there is very noticeable difference (about 2 to
3 seconds), and people who visited the website complained about this.
is there something i can do to speed the sessions checkups ?
2006 Jan 22
0
Problem with change_password action in LoginEngine
Hi, I just setup the Login engine and everything seems to be
working... but the change_password action. The fact is that the user
receives the mail telling him to visit the app''s change_password page
in order to enter a new password, but I get an undefined method error
in my controller when rendering <%= error_messages_for ''user'' %>.
Tracking down the issue, I
2006 Feb 15
4
problem with saving id''s in a join table
hello,
I''am new to ROR and I have a problem.
I have to models "rights" and "roles" on a has_and_belongs_to_many
relationship, through "roles_rights" table. When I try to add a new role
although I put in my form fields for each right, a record is added to
table roles but none to roles_rights.
I am using Ruby 1.8.4 rails 1.0 mysql 5.0
here is my code:
2006 Apr 27
3
LoginEngine File_column interop
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Hello all,
I hope someone can help me with this issue, I have the SVN
file_column and using LoginEngine/UserEngine with Rails 1.1.2. My
issue is that I''m overloading the view for LoginEngine to support a
file image upload as part of the user record and having a heck of a
time doing so.
Near the bottom of my new _edit.rhtml
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 Jan 16
2
LoginEngine vs. LoginGenerator?
I just saw a mention here of LoginEngine, which I hadn''t heard of
before. Last week when I was digging for user-account sample code for
my web-app, I instead found the LoginGenerator and started using that:
http://wiki.rubyonrails.com/rails/pages/LoginGenerator
Is one of these preferred over the other? From skimming the API docs,
it does seem that LoginEngine has more features,
2008 Feb 19
0
(PR#10799) Assigning a sub-matrix from a data frame to a
Where precisely is the bug here? If you assign a list (d[,1:2] is a list:
it is the whole data frame) to a numeric matrix you coerce the latter to
mode list, and that is what happened.
If we have the simpler version
d <- data.frame(v1=1:2,v2=3:4)
x <- matrix(0, 2, 2)
x[] <- d
it may be easier to see what happened.
I think the problem is in your subject line: d[,1:2] is _not_ a
2006 Jul 03
0
Fwd: Models and Backgroundrb
Seems this mail did not make it to the list for some reason. It
contains my solution for the problem with login_engine without having
to load the whole Rails environment.
Begin forwarded message:
> From: G?nter Ladwig <gladwig at gmx.de>
> Date: 22. Juni 2006 23:51:18 MESZ
> To: backgroundrb-devel at rubyforge.org
> Subject: Re: [Backgroundrb-devel] Models and Backgroundrb
2006 Jun 22
1
Models and Backgroundrb
Hi Erza,
I am using login engine in my code...and i get the error "uninitialized
constant LoginEngine and uninitialized constant LoginEngine", when i try to
do a find in the worker code!!!
Why am i getting this error?
--
nothing much to talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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
2005 Dec 29
2
Login plugin
All-
I am new to Ruby; following are my two questions:
1. Which is the best login plugin? I keep hearing about SALT and
loginengine.
2. For installing loginengine; I see the two following steps - Both
these does not work for me. :
$ script/plugin install login_engine
==I am getting "script/plugin is not a internal or external
command, operable program or batch file"
2006 Jul 09
1
Problem with LoginEngine
I installed the Engines and loginEngines plugins but when it came to set
up the Database schema.rb, that file is missing from the folder. I have
searched everywhere possible to see if i can get this file and set up
the schema but no success. Anyone with the same problem or know what
the issue could be?
Even the documentation for loginEngine does not show this file anywhere.
Thanks to anyone
2005 Dec 27
2
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the
README file. When I try to start WebBrick i get the following error:
./script/../config/../config/environment.rb:55: undefined method `config'' for
LoginEngine:Module (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__''
from
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
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 Mar 07
2
LoginEngine problem
The LoginEngine plugin of RailsEngines can be show working well in the
video http://rails-engines.rubyforge.org/movies/engines_intro.mov
However it does not work on my pc. I have had the rails 1.0 installed as
well as worked under windows enviroment.
After I have repeated the steps that the video shows,the login action
does not take into effect while not redirect to the home action as the
2006 Apr 28
0
UserEngine + User Profiles
[Cross Posted in Rails Engines]
I''m taking a new approach to how I view user data, I think in the end it
will be faster for the system anyways... What I''m doing is using
LoginEngine/UserEngine combo on my site for authorization, and I want
each user to have a profile that they edit and maintain. Each user
would have 1 profile.
My question is getting my profile and my user
2006 Jan 17
0
mixing engine
Hi all, I got a question here, I have 2 engine, 1 is LoginEngine, the
other is AdminEngine (to handle all Project wide administrative job), how
can I have the AdminEngine to have login and authorisation function from the
LoginEngine?