similar to: acts_as_authenticated plugin

Displaying 20 results from an estimated 400 matches similar to: "acts_as_authenticated plugin"

2010 Jul 08
3
Testing equality
Hello How can I test equality with two objects when they include some attribute that is BigDecimal? if I make something like this: it "should ...whatever" do obj = Factory.create(:my_object) ... MyObject.first.should == obj end. FAILS This fails because the object expected is different from the object gotten, and the only difference are the BigDecimal attributes, that are
2009 Mar 02
2
Changes in specs for routes in rspec 1.1.99.x
Trying the next release of rspec, I have had to make changes in the existing specs for routing. I have written an script with sed that makes this automatically (two files) spec/upgrade.sed ================ /route_for/s/id => 1/id => "1"/g /route_for.*create/s/== \(["''].*["'']\)/== {:path => \1, :method => :post}/ /route_for.*update/s/==
2008 May 29
9
Coloured output in rspec 1.1.4
Hello. I have lost the coloured output in autotest after updating to rspec v1.1.4 I was already using the edge version and was ok then, before the last update. Anyone knows something about this? Thank you. -- Posted via http://www.ruby-forum.com/.
2008 Jun 04
8
Why has the --color gone from my life?
Hi all, Running on OSX 10.5.3, Latest Rspec trunk, Rspec rails trunk, latest autotest gem and rails 2.1 I''ve lost my colour output in autotest. rake spec gives colour output, but autotest gives me black and white. It was working a little bit before, I think I upgraded to the latest versions of everything to get all the textmate snippets talking and being friendly to one another again
2008 Sep 30
4
Using the response object in stories
I have this statement in the layout of my application (using haml) - if request.env["HTTP_USER_AGENT"].include?("MSIE") = stylesheet_link_tag ''blueprint/ie.css'' = stylesheet_link_tag ''confirm_ie.css'' The problem is that request.env["HTTP_USER_AGENT"] is nil when I go to some page in the features I write with cucumber and webrat
2010 Feb 05
2
Edge Rails 3: Mongrel stuck in infinite loop, Unicorn missing uninitialized constant Rack::Runtime
Hi, I wanted to try out Edge Rails 3 today and hit a serious problem trying to run mongrel. script/rails server mongrel just hangs. Interrupting and looking up the spot of the lockup revealed $LOAD_PATH.unshift ''projects/mongrel_experimental/lib/'' Mongrel::Gems.require ''mongrel_experimental'', ">=#{Mongrel::Const::MONGREL_VERSION}" at the bottom
2006 Sep 18
2
Datebocks and EdgeRails
Hello, I am having trouble trying to use the Datebooks Engine with Edge Rails. Has anybody try with it? It seems that the problem has something with loading the layout, and complaints about the number of arguments. I will thank any help or guide. Thank you very much. ========================= I have copied the error I get ArgumentError wrong number of arguments (2 for 1) RAILS_ROOT:
2008 Jun 02
3
GiT and RSpec
> > Message: 2 > Date: Thu, 29 May 2008 06:35:01 -0700 > From: David Chelimsky <dchelimsky at gmail.com> > Subject: Re: [rspec-users] Coloured output in rspec 1.1.4 > To: rspec-users at rubyforge.org > Message-ID: <175B70FE-B706-4C03-8B20-C5B207268AD6 at gmail.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > On May 29, 2008,
2005 Oct 15
1
Installing Typo on Instant Rails
I don?t know how to post following some thread. From where can I answer some specific message ? If somebody can help me, please Well, I have followed the instructions from Ed for installing typo, It works, but I have problems with stylesheets when I am logged-in doing the administrations functions in the blog. I remember the same when I tried typo using fastcgi, CSS Stylesheets seem doesn?t
2020 Feb 27
2
Problems with nouveau driver in Ubuntu 18.04
Hello, I use Ubuntu 18.04, since one of the last upgrades I have problems with nouveau drivers. My screen look like the picture atteched. [~]$ uname -a Linux 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [~]$ inxi -Gx Graphics: Card: NVIDIA G71GL [Quadro FX 1500] bus-ID: 01:00.0 Display Server: x11 (X.Org 1.20.5 ) driver:
2003 Apr 05
1
flock a file in a NT server
Hi, I'm writing an application with C under Linux and I'm trying to use the flock system function to lock a file of an NT4 Server over Samba. The problem is that the lock works well within the same machine but if it is a process on another machine (the same program) the one that tries to access the locked file, the process is not blocked until the lock is released but given full access
2017 Jun 08
3
Apple Mac slave
On Jun 7, 2017, at 1:14 PM, Roger Price wrote: > > 2. On the NAS, use command > > upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS Robbie, The "upsrw" command contacts upsd, so it sounds like you should be able to add a user to upsd.users on the NAS, and then run something like this on the Mac: upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS at
2006 Aug 16
4
Memory leak with the pre-release?
Hello, I''m just wondering if there could possibly be a memory leak with the latest pre-release? When I run it, the processes keep increasing in memory size and easily pass 200MB and eventually crash due to a lack of memory. Is anybody else having this problem? Thanks, -carl PS, Zed, I sent you two emails directly to your address with logs and other stuff. Let me know if you
2017 Jun 07
3
Apple Mac slave
>> I am running NUT on a Synology NAS with attached a USB APC UPS. > > Do you have upsd and upsmon running as daemons on the Synology DSM? > Yes I have them both running on the Synology DSM: root 7236 1 0 Jun01 ? 00:00:16 /usr/sbin/upsd root 7741 1 0 Jun01 ? 00:00:00 /usr/sbin/upsmon root 7744 7741 0 Jun01 ? 00:00:12
2017 May 11
2
Problems with samba-tool ntacl sysvol reset
Hi, after adding a new GPO the ntacl sysvolcheck fails and i want wo repair with ntacl sysvolreset.... biut this fails aslo in the end with: connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol open: error=2 (No such file or directory) ERROR(runtime): uncaught exception - (-1073741823,
2017 Jun 08
1
Apple Mac slave
> Yes, See the User Manual http://networkupstools.org/docs/user-manual.pdf chapter 6.3 "Configuring automatic shutdowns for low battery events?. > The NUT documentation is not always clear, and it looks as if the Synology is even less clear. You must distinguish carefully between "system shutdown" and "(delayed) UPS shutdown". The UPS is turned off _after_ the
2017 Jun 07
2
Apple Mac slave
> I see upsd and the first upsmon are running as "root". They are often run as user "nut" or "upsd?. Apparently Synology has implemented it standard like this. Upsmon.conf on the Synology NAS: RUN_AS_USER root I suppose this needs to be changed from a security point of view. > I don't know the Synology NAS, but I guess that unless it is shutdown
2008 Mar 05
4
Unable to mount using sec=none and mount.cifs
I'm attempting to mount a CIFS share with the following stipulations: 1. I must have the UNIX extensions (specfically, symlinks). 2. I must use plaintext authentication (don't ask). I've recompiled the cifs kernel module to allow plaintext authentication, using the stock Ubuntu 7.10 kernel (2.6.22.9c). My /etc/fstab line looks like... //superman/www-pub
2017 May 13
2
Problems with samba-tool ntacl sysvol reset
Raspian root at samba01:~# uname -a Linux samba01 4.9.14-v7+ #977 SMP Mon Mar 13 18:25:19 GMT 2017 armv7l GNU/Linux root at samba01:~# cat /etc/debian_version 8.7 root at samba01:~# samba -V Version 4.6.3 root at samba01:~# cat /etc/samba/smb.conf # Global parameters [global] netbios name = SAMBA01 realm = LOCAL.xx.xx workgroup = LAURENZ server role = active
2008 Dec 25
1
DIGEST-MD5 user/realm mismatch with Postfix
This is a follow-on to the "SQL field format for digest-md5?" thread. After some additional debugging, I've found the problem is a mismatch in what Dovecot expects and Postfix uses for the user and realm. For a username "user at example.com" and password "sekret", Dovecot expects: username = "user" realm = "example.com" but Postfix sends