Displaying 20 results from an estimated 1000 matches similar to: "Oracle OraNumber problem with Authentication. Please help!"
2005 Nov 25
0
Login Authentication working in IE but not in Mozilla
I have gone through the following site for the creation of my login
page:
To mention I am using Windows XP pfofessional running on WEBBrick server
http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticate
The code is given in the following 3 steps:
1)The controller that needs protection:
class WeblogController < ActionController::Base
before_filter :authenticate
def index
# show
2006 Aug 01
0
storing object with no "marshal_dump is defined" in session
One of my classes uses the class GSL::Poly. It seems from this error
message that rails won''t let me store it in the session. ANy ideas what
i can do?
Rendering
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/templates/rescues/layout.rhtml
(500 Internal Error)
no marshal_dump is defined for class GSL::Poly
/usr/local/lib/ruby/1.8/pstore.rb:348:in
2006 Apr 22
5
ActiveRBAC 0.3.1 Released
Hi
I am happy to announce the 0.3.1 release of ActiveRBAC Engine. The
biggest improvement on the 0.3 release is that it runs with Rails 1.1
now.
Get your personal copy now from
https://activerbac.turingstudio.com/releases :)
There is a manual PDF with a tutorial available at
https://activerbac.turingstudio.com/releases/ActiveRbacManual.pdf
which is also included in the full
2008 May 21
1
custom serialization problem (marshal_dump, marshal_load)
Hi,
I have a problem with the marshal_dump and marshal_load...
I built two classes XXX, YYY and implemented both methods like this:
class YYY
@data = "string"
@version = 1
def marshal_dump()
return [@version,@data]
end
def marshal_load(var)
@version = var[0]
case @version
when 1
@data = var[1]
else
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
2008 Jan 04
2
use of Marshal with wxruby classes
Is it possible to use Marshal with wxruby classes to serialize an
application''s state?
I tried a minimal example of simply serializing a minimal frame object, and
I get the error "no marshal_dump is defined for class MinimalFrame".
I don''t fully understand this because I also tried another minimal example
of dumping a class which did not defined a marshal_dump, and it
2005 Nov 19
1
How I provide a session object to Functional Tests?
People,
I''m looking at p. 152 in the Rails book where he talks about testing
controllers [ functional tests ].
First he shows a method, test_login_with_valid_user, which tests
that it''s possible to login with a valid user/password combo.
Then, he talks about extracting the code he just wrote and placing it
into a login method inside of test_helper.rb
Once the method is there,
2016 Jul 27
0
[RFC/PATCHSET 0/7] virtio: Implement virtio pstore device (v2)
On Thu, Jul 28, 2016 at 12:08:24AM +0900, Namhyung Kim wrote:
> Hello,
>
> This is v2 of the virtio-pstore work. In this patchset I addressed
> most of feedbacks from previous version. Limiting disk size is not
> implemented yet.
For some reason, only parts of the patchset were received.
Pls post all patches to all lists.
If you are changing the virtio interface with host,
like
2013 Jan 18
1
redirect_to(session[:return_to]) vs session.delete
Hey all,
Recently I''ve been looking into on how to return back to a previous
referring URL and and the most common approach is:
redirect_to session[:return_to]
But some recommend:
redirect_to(session.delete(:return_to) || default)
How I understand it, in the second example we call session.delete so it
will clear the return path since we will no longer need it, and we also use
2006 Jun 28
2
Saving and reproducing a POST request.
Hi
I have an action which saves the originating resource from which it
was called, and returns to it later. This is done by setting:
session[:return_to] = request.referer
...
redirect_to(session[:return_to])
Which works great for GET resources. The problem is that POST
variables aren''t kept in request.referer, so this method fails when
the originating resource is a a POST.
2012 May 01
1
uninitialized constant LoginController in Ruby
This is my environment.rb
# Load the rails application
require File.expand_path(''../application'', __FILE__)
# Initialize the rails application
Qstack::Application.initialize!
require ''koala''
This is my application_controller.rb
class ApplicationController < ActionController::Base
# protect_from_forgery
before_filter :parse_facebook_cookies
def
2008 Mar 18
0
no marshal_dump is defined for class StringIO
Hi all,
I''m newbie to ROR, anybody know why I would be getting the following
error when I use paginating_find with memcache "no marshal_dump is
defined for class StringIO"
Im just using the plugin straight out with very default options like
from the documentation.
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2004 Oct 24
0
redirection bug ?
Hi
I use code from authentication example from ruby on rails web page.
Everything looked fine until i found thet when i log for the first time it
gives me bad redirection. When session[''return_to''] was set everythig
had been fine so i changed (look into my code) from 1 to 2.
this is from login controler
def login
if
2016 Jul 18
0
[PATCH 2/3] qemu: Implement virtio-pstore device
On Mon, Jul 18, 2016 at 01:37:40PM +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung at gmail.com>
>
> Add virtio pstore device to allow kernel log files saved on the host.
> It will save the log files on the directory given by pstore device
> option.
>
> $ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ...
>
> (guest) # echo c >
2016 Jul 27
0
[PATCH 6/7] qemu: Implement virtio-pstore device
Add virtio pstore device to allow kernel log files saved on the host.
It will save the log files on the directory given by pstore device
option.
$ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ...
(guest) # echo c > /proc/sysrq-trigger
$ ls dir-xx
dmesg-1.enc.z dmesg-2.enc.z
The log files are usually compressed using zlib. Users can see the log
messages directly on the
2016 Aug 20
0
[PATCH 2/3] qemu: Implement virtio-pstore device
Add virtio pstore device to allow kernel log files saved on the host.
It will save the log files on the directory given by pstore device
option.
$ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ...
(guest) # echo c > /proc/sysrq-trigger
$ ls dir-xx
dmesg-1.enc.z dmesg-2.enc.z
The log files are usually compressed using zlib. Users can see the log
messages directly on the
2016 Nov 15
0
[PATCH 1/3] virtio: Basic implementation of virtio pstore driver
Hi Michael,
On Thu, Nov 10, 2016 at 06:39:55PM +0200, Michael S. Tsirkin wrote:
> On Sat, Aug 20, 2016 at 05:07:42PM +0900, Namhyung Kim wrote:
> > The virtio pstore driver provides interface to the pstore subsystem so
> > that the guest kernel's log/dump message can be saved on the host
> > machine. Users can access the log file directly on the host, or on the
> >
2016 Nov 10
0
[PATCH 2/3] qemu: Implement virtio-pstore device
On Fri, Sep 16, 2016 at 07:05:47PM +0900, Namhyung Kim wrote:
> On Tue, Sep 13, 2016 at 06:57:10PM +0300, Michael S. Tsirkin wrote:
> > On Sat, Aug 20, 2016 at 05:07:43PM +0900, Namhyung Kim wrote:
> > > Add virtio pstore device to allow kernel log files saved on the host.
> > > It will save the log files on the directory given by pstore device
> > > option.
2016 Nov 15
0
[PATCH 1/3] virtio: Basic implementation of virtio pstore driver
On 15/11/2016 06:06, Michael S. Tsirkin wrote:
> On Tue, Nov 15, 2016 at 01:50:21PM +0900, Namhyung Kim wrote:
>> Hi Michael,
>>
>> On Thu, Nov 10, 2016 at 06:39:55PM +0200, Michael S. Tsirkin wrote:
>>> On Sat, Aug 20, 2016 at 05:07:42PM +0900, Namhyung Kim wrote:
>>>> The virtio pstore driver provides interface to the pstore subsystem so
>>>>
2016 Aug 20
0
[PATCH 1/3] virtio: Basic implementation of virtio pstore driver
The virtio pstore driver provides interface to the pstore subsystem so
that the guest kernel's log/dump message can be saved on the host
machine. Users can access the log file directly on the host, or on the
guest at the next boot using pstore filesystem. It currently deals with
kernel log (printk) buffer only, but we can extend it to have other
information (like ftrace dump) later.
It