similar to: unexpected should_receive behaviour

Displaying 20 results from an estimated 100 matches similar to: "unexpected should_receive behaviour"

2012 Nov 05
3
DragonFly Object not found in Production
could please anyone help me with this issue? http://stackoverflow.com/questions/13237954/object-not-found-in-production thanks, enrico -- · Enrico Stano · · twitter @enricostano · skype ocirneonats -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Sep 27
3
load global variable so I can access in spec files
In my spec_helper, I want to load yaml file to a variable, and then be able to use that in my tests. spec_helper.rb: RSpec.configure do |config| end config = YAML::Load(......) some_spec.rb describe ''blah'' do it "should be...." do MyClass.new( config[''test''] ) end end How can I do this? -------------- next part -------------- An
2011 Sep 15
2
Dragonfly and Zip uploads
I''m poring through the Dragonfly source code right now, trying to get a handle on how to apply the following technique there: Client uploads a Zip archive containing N images, PDF files, text files, etc. When that file arrives at the server, but before it is stored as an attachment to the current object, the Zip is burst open, contents are iterated over, and each contained file is saved
2012 Oct 15
0
CanCan load_resource get a nil resource
Hi, I''ve opened a question on StackOverflow regarding #load_resources and a create action in UserController: http://stackoverflow.com/questions/12882284/load-resource-get-a-nil-resource Could anyone please give me some hints? thank you! enrico -- · Enrico Stano · · twitter @enricostano · skype ocirneonats -- You received this message because you are subscribed to the Google
2012 Nov 04
0
rails-i18n and date_select issue
Hi, could please anyone help me with this issue? http://stackoverflow.com/questions/13219204/rails-i18n-date-select-error Many thanks, enrico -- · Enrico Stano · · twitter @enricostano · skype ocirneonats -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2014 May 30
1
attachment sis + EMLINK (too many links) = segfault bug (2.2.12)
Hi, we use attachment dedup with lots of emails (still migrating to it from maildir). We use netapp storage with wafl filesystem over nfs. Problem is that netapp has hard limit of 100k hardlinks to one file. And we encountered it. Problem is that dovecot start do segfault (lmtp,dsync,pop3 etc) when it happend when tried to deliver new emails with that attachment. Here is strace of dsync: 6740
2016 Mar 10
5
sis deduplication broken from 2.2.16 upwards
On 3/9/2016 9:02 PM, Timo Sirainen <tss at iki.fi> wrote: > On 08 Mar 2016, at 01:50, Pavel Stano <stanojr at websupport.sk> wrote: >> >> sis attachment deduplication is broken in 2.2.16 upwards. >> It is caused by this commit. >> https://github.com/dovecot/core/commit/664bf3e236c214aee86294483c379e4fa66c2e63 >> >> in src/lib-fs/fs-sis.c function
2016 Mar 07
2
sis deduplication broken from 2.2.16 upwards
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, sis attachment deduplication is broken in 2.2.16 upwards. It is caused by this commit. https://github.com/dovecot/core/commit/664bf3e236c214aee86294483c379e4fa66c2e63 in src/lib-fs/fs-sis.c function fs_sis_try_link() is comparation of inodes of hash files. Because fs_stat() after that commit use fstat() on open fd of temporary file instead of
2014 Jun 25
1
Remove all messages in a mailbox
Hi All, I am having trouble removing all messages in a mailbox.?? The command below doesn't remove all the messages: doveadm expunge -u user at domain mailbox? '*' all Do I need to add .* or other? THanks Murray
2014 Apr 03
1
mdbox with mail_attachment_dir per user in 2.2.12
Hello, we have 2 netapp arrays with 2 volumes and we need to store our mail data in one or other volume for every user. We want keep data for one user in one volume only. So we would like to have 2 separate mail_attachment_dir, one on every volume. But in latest version 2.2.12 it look like it is only possible to set one global mail_attachment_dir. I have an idea with 2 separate dovecot
2014 Apr 10
1
replication + attachment sis + zlib bug ? (HEAD version from xi.rename-it.nl)
Hi, i have setup with mail_attachment single instance store + replication + zlib and got this bug when i try to replicate one test mailbox: On master1 in mail.log: Apr 10 13:25:22 master1 dovecot: dsync-local(zzz at blabla666.sk): Error: read(/nfsmnt/mailnfs1/attachments1/6b/57/6b57ad34cf6c414662233d833a7801fde4e1cdcb-92b5052558774653a728000013e2b982[base64:18 b/l]) failed: Stream is larger than
2012 Jul 18
1
[PATCH] Pop3/imap ordering in courier-dovecot-migrate.pl
Hi, current version of courier migration script courier-dovecot-migrate.pl preserve order of POP3 UIDLs, but it keep IMAP UIDs not in order which cause problems with clients using IMAP along with POP3 in some cases. Attached patch use MAIL_FETCH_POP3_ORDER feature added in version 2.0.13 to keep POP3 and IMAP UID[L]s in order. -- [ Ohodnotte kvalitu mailu:
2003 Feb 17
2
Limit forwarding to specific ports
Hello, We are using the AllowUsers feature of sshd and would like to control which users can ask for forwarding of which ports. E.g. when the user is foo, allow him to tunnel connections to bar:5678 and baz:7654, but no shell (or some dummy shell) and no other forwardings. Is such feature planned for the future? Would you accept such patch in the mainstream distribution? I would appreciate Cc:
2009 Apr 22
1
smbclient fails when LDAP server is down
Hi all, I?m having some trouble setting up a samba failover scenario. This is what I?ve done: Subnet 192.168.1.0 -> Samba PDC e Samba BDC Subnet 192.168.20.0 -> LDAP Master e LDAP Slave If all servers are up I can login to domain. If I put the LDAP Master service down I am still able to login from the Slave LDAP. But if the server where the master LDAP is installed is down
2014 Apr 22
0
one way replication
Hi, anyone using one way (or master/slave) replication instead of master/master ? There is no info in documentation but in sources (src/doveadm/dsync/doveadm-dsync.c) i found some flags which looks like for setting up master/slave switch (c) { case '1': ctx->oneway = TRUE; ctx->backup = TRUE; break; case
2005 Oct 22
2
[Bug 3202] rsync crash with long directory structure
https://bugzilla.samba.org/show_bug.cgi?id=3202 ------- Additional Comments From stano@websupport.sk 2005-10-22 16:02 ------- i find out that it crash because it fill up stack which is default 8MB, when i enlarge it to 32mb with ulimit, rsync work ok -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA
2011 Nov 28
4
getting a subdomain name in model.
Hi all, I am facing problem in getting subdomain name inside the model. The following is my setup. I am using cancan for authorization.I wanted a specific condition in Ability.rb ( the file which is placed in models if we install cancan gem). Below is the condition I wanted: ========================================================= user ||= User.new # guest user (not logged in) if
2010 Dec 02
8
CanCan issue when being very specific
So I got CanCan and Devise working well. I have two types of users: Admins and Nonadmins. Admins can edit all of Nonadmins profiles. The problem is, every user (either Admin or Nonadmin) belongs to an Account or Organization. Admins should only be able to edit users from their own Account or Organization. I was able to do that too. The problem is, I can''t display the Create New User
2011 Dec 17
39
Stack Level Too Deep Error (can't seem to figure it out)
Hi all, I am running into a weird issue where my application is giving me a stack level too deep error. I can''t seem to find where my code is throwing this error. On the machine I developed this code on, this error does not show up when I run rails s but when I move the code to another system to run it this error shows up. The system that this code runs fine on is a mac os x machine
2012 Feb 27
6
selecting params value to use with $.ajax()
Hello all, I''m trying to write a jquery function where I am posting some data from a form. I am wondering is there a way to select the particular param that I want to use when I submit the data to $.ajax(). I don''t believe it makes sense to create a hidden field just to use with $.ajax() but I can''t seem to figure out how to get to the params key/value using jquery.