Displaying 7 results from an estimated 7 matches for "isleb".
Did you mean:
sleb
2006 Mar 13
4
Storing model object in session in EdgeRails
I''m having a problem with sessions since upgrading to EdgeRails. Against
certain recomendations, I''m storing the current user''s model object in
the session. This worked fine in 1.0 and earlier, but now I am noticing
that any time I reference the associated objects for an object stored in
the session, the associated objects get copied into the session! For
example,
2006 Mar 13
3
"./blah/blah" vs. "/blah/blah"
Hello,
Earlier in my rails application, I was using the convention of writing the
following to refer to templates and/or views in the view folder.
"./blah/blah"
But in the Edge rail, it doesn''t work and the page doesn''t shows any output
there is no error in the development log as well. But changing the above to
"/blah/blah" seems to fix things.
Was I
2006 Aug 01
2
Networked APC
Hi,
I was wondering if there was any support in NUT for networked APC
UPS's. All the configuration examples I see in the documentation are
for USB/Serial connections to the UPS. I could mess around with
serial/USB cables, but I'd really rather talk to the UPS over the
network. I don't want all my servers relying on a single machine with
a serial connection.
-matthew
2006 Aug 01
2
Networked APC
Hi,
I was wondering if there was any support in NUT for networked APC
UPS's. All the configuration examples I see in the documentation are
for USB/Serial connections to the UPS. I could mess around with
serial/USB cables, but I'd really rather talk to the UPS over the
network. I don't want all my servers relying on a single machine with
a serial connection.
-matthew
2006 Mar 13
3
problem updating mulitple divs with ajax
i''m having some issues updating multiple divs via ajax. perhaps someone can
lend some assistance.
i''ve got 2 divs:
user_list and user_form.
when a person clicks the "edit this user" or "add new user" link the
user_form div is updated via an ajax call and the form is shown in the
user_form div.
this form is a remote form. it submits to either the update
2006 Oct 09
5
Problem setting variables in ApplicationController.
I''m dynamically generating menu options based on the currently logged
in user: current_user.
My menus are setup on the applicatin.rhtml file. The current_user is
defined in the application controller. But, attempting to assign it a
value while in the application controller results in an ''undefined
method'' error.
ApplicationController ....
def current_user
@cu =
2006 Mar 10
0
Session management changed in EdgeRails?
Hi,
I''ve been developing an application in Rails 1.0 and finally made the
switch to Edge for has_many :through and polymorphism. I''m currently
storing the authenticated user object (User model) in the session. This
has worked well up until upgrading to EdgeRails. What I do is set @user
= session[:user] in my controllers and then access the various @user
associations such as