search for: wibbl

Displaying 20 results from an estimated 42 matches for "wibbl".

Did you mean: wibble
2006 Jul 16
6
using collection_select
hello, supposing i have a User class that contains a Wibble class User < ActiveRecord::Base has_one :wibble end in my view i have <%= collection_select :user, :wibble, Wibble.find(:all), :id, :name %> when i post, i get an error like "Wibble expected, got String" how/where am I supposed to convert this posted wibble_id into a Wibbl...
2006 Feb 15
2
extending rails via /lib - problems
I wanted to group some functions which I use in some models in one place. Controllers have application.rb and views have helpers but I couldn''t find anything about models. Using the /lib directory seemed to be the only way. Alright... so I have something like this: /lib/code.rb class ActiveRecord::Base def method_a(n) ....... end def method_b(n) ........ end end
2006 Apr 17
2
Understanding when flash gets reset (render vs. redirect_to)
All, I have a controller action that will do a different "render (:action)" call depending on whether or not data is valid. When the data is invalid - I set a flash element to hold a message. However, when I post back to this controller action and have valid data, I still have the flash element set, which I don''t want. I believe this is because I did a render from the
2006 Feb 02
0
proposed bugfix/patch: ActiveRecord cross-module associations
Hi, I''m still test driving the improved support for module namespaces in rails and I''ve hit a problem with associations between AR classes in modules and AR classes in the root namespace. The long and short of it is I want to be able to say: Foo::Bar.belongs_to :wibble, :class_name => "::Wibble" If you don''t try to prefix ''Wibble'' with ''::'' it complains about uninit constant "Foo::Wibble" which completely makes sense. However, the AR::Base.type_name_with_module method assumes that *all* na...
2006 Apr 21
8
Stop Models auto loading
Is there a way to stop Rails automatically trying to load models? Cheers, Nicholas
2003 Sep 11
1
Setting up a local shared mailbox
One: I have never set up an IMAP server before, so I thought I would ask first before blindly stumbling around. The problem I am want to solve is this: my wife and I have a "joint" email account that we both want to access (we also have our own personal accounts, but that's beside the point.) I posed the question to my local LUG, and several suggested setting up a local IMAP
2007 May 01
2
Problem validating boolean
Hi I''ve got a problem validating a boolean and I can''t see what the problem is. Here''s my model: class FinanceAgreement < ActiveRecord::Base belongs_to :asset validates_presence_of :finance_company validates_inclusion_of :balance, :in => 0.01..10_000_000 validates_inclusion_of :term, :in => 1..600 validates_numericality_of
2006 Apr 25
7
Rails producing the / page.
Hi all Very simple question, im sure, but I cant find docs anywhere that tell me how to do this. What I want is for the index page of the server to be generated from rails, is www.wibble.com/ will result in a page that has been processed by rails, has the templates etc. >From what I can see, the index page comes from public/index.html How do I get this to be a rails page? Thanks Jonathan Gill
2007 Jan 25
9
Constant directory checksum changes
notice: /subject.sol1.net/virtual_mail_server/File[/etc/postfix]/checksum: checksum changed ''{time}Thu Jan 25 16:31:08 EST 2007'' to ''{time}Thu Jan 25 16:36:39 EST 2007'' I know there''s something weird in the directory modification detection that causes the next run after things actually change to suffer from this problem, but I''m getting it
2000 Mar 22
0
Not being digested, now . . . the question!
...t always "done the right thing". Either Samba's getting cleverer, or I'm getting dumber, or both, cuz I'm stuck. Essentially I have a bunch of MSOffice users mounting a Samba share and dumping their dox there. Not exactly rocket science. Presently I have it exported as: [wibble] comment = Wibble user common data area path = /home/wibble/common public = no writeable = yes create mode = 0770 directory mode = 0770 preserve case = yes short preserve case = yes case sensitive = no level2 oplocks = True valid users = someone,anotherone,andanoth...
2016 Feb 12
2
Segmentation fault on doveadm search -A with a huge user base
Hi, I'm using dovecot 2.2.9 with a director/backend setup. The user base is about 4711 users currently. If I start at one of the directors doveadm search -A all savedbefore 5000d it terminates with doveadm(1rrissma): Error: doveadm server disconnected before handshake: EOF doveadm(1rrissma): Error: 2001:638:913:f33::5:ff:24245: Command search failed for 1phaaman: EOF
2007 Feb 06
3
Using any_instance with Rails to make sure the right thing is saved?
I''d like to test that an object with the correct attributes is saved, something like: def test_create_without_existing_suite this = self w = Annotation.any_instance.expects(:save).with do |x| this.assert_equal ''fnord'', some_way_get_the_name_of_the_receiver_of_save true end w.returns true end But the object is created inside the method
2006 May 08
1
kevent error (1.0.b7) - Is this a FreeBSD-only problem?
Hello everyone, The problem below has been reported, but I did not see any response! <cut> | | I'm also seeing this bug while testing the forthcoming 1.0.b7 FreeBSD | | port under 6.1-PRERELEASE: | | | | Info: imap-login: Login: user=<wibble>, method=PLAIN, rip=10.0.0.2, | | lip=10.0.0.2, TLS | | dovecot: Error: IMAP(isometry): Unrecognized event: kevent {.ident = | | 2, .filter = 0xfffffffe, .flags = 0x0001, .fflags = 0x00000000, .data | | = 0x00004000} | | dovecot: Error: child 7254 (imap) killed with signal 6 </cut&gt...
2007 Mar 19
1
compiz/gl-x crashes my games!
...riva 2007 and like the eye candy of of the 3d desktop but wine is more important to me. Whenever I start with with the 3d desktop turned on though any 3d games I have will either crash or report that I don't have a 3d card. Is there any way round this or am I to be denied the pleasure of the wibbly wobbly windows?
2016 Jul 13
3
PJSIP defaults for endpoints when using realtime
Until Asterisk 11 I could use sip.conf to set defaults for all phones (language, dtmf, vmexten, etc) and just leave many fields in the database as NULL. What would be the proper way to do this for Asterisk 13 and PJSIP? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez +52 (55)9116-91161
2003 May 13
1
Re: List-id test
On Mon, May 12, 2003 at 06:44:06AM +0300, Timo Sirainen wrote: > On Mon, 2003-05-12 at 04:21, Timo Sirainen wrote: > > Just enabled List-* headers, testing if this still works.. > > Hmm. Wondered about why List-Id header used wrong host name and started > looking at Ecartis' sources .. Wasn't it written in Perl? I had believed > so for quite a long time for some
2003 Mar 13
1
Shared Folders?
Hello everybody (esp. Timo ;)), in an attempt to replace our cyrus imapd with something less bloated I have recently evaluated some of the younger imapd implementations, namely bincimap and also dovecot. Bincimap didn't work properly with mozilla for me, dovecot hasn't failed on any test, yet. Unfornationally, since we have been using cyrus for over 1.5 yrs, we pretty much depend on the
2008 Nov 22
2
How to add the value on the barchart
I have question: how can I put the value on the bar chart. This my code: barchart(Tuberize~Family|factor(Year)*factor(Hr),data=tuber) This's my data:    Year Hr Family Tuberize 1  2007 20      A     0.26 2  2007 20      B     6.08 3  2007 20      C     0.00 4  2007 20      D     0.27 5  2008 20      A     1.18 6  2008 20      B     9.17 7  2008 20      C     0.00 8  2008 20      D     2.13 9 
2000 Sep 14
3
classed
For a long time now I've been using a function: classed <- function (x, cls) { class(x) <- cls x } as a utility at the end other functions to set the class of an object and return the object. I've noticed examples where others have been doing a similar thing and I think it would be a useful addition to R base (unless there is already something there to do this - it
2010 Apr 26
2
woriking under webrick but not under passenger
...w_salt self.hashed_password = User.encrypted_password(self.password, self.salt) end def after_destroy if User.count.zero? raise "Can''t delete last user" end end private def self.encrypted_password(password, salt) string_to_hash = password + "wibble" + salt # ''wibble'' makes it harder to guess Digest::SHA1.hexdigest(string_to_hash) end def create_new_salt self.salt = self.object_id.to_s + rand.to_s end end ----------------------------------------- login_page.html.erb <div class="user-form"&gt...