search for: overid

Displaying 20 results from an estimated 96 matches for "overid".

Did you mean: overrid
2006 Aug 14
1
Overide the default find_all
Hi, In my model i want to overide the default find all for sorting purposes. Is this possible or can this only be done in the control or by adding a custom method in the model. def self.find_all() @contents = Content.find(:all, :order => ''pos, position_id'') end -- Posted via http://www.ruby-forum...
2005 Mar 06
1
Password scheme overides
I notice in the wiki you can have password sceme overides (such as {PLAIN}password). Would this work with the password fields in SQL databases (as it isn't clear in the wiki or conf file)? Regards Andrew -- Andrew Hutchings Linux Guru Netserve Consultants Ltd. http://www.domaincity.co.uk/
2002 Oct 29
1
Overiding builtin DLL's for Dreamweaver
...javascript errors. Wine then core dumps. When I run this from a terminal window I see some errors pop up as it goes along. The Builtin32 module complains that it can't get the builtin dlls (.so) for a couple dll's that are the cause of the javascript errors. I have tried setting the DLLOVERIDE in my config file to tell wine to use the native dll's that I have copied, but wine doesn't want to listen I guess. Is there somewhere else that I can overide which dll's wine uses when running a program?? I have a feeling once I get wine to use the native dll's all will work for...
2007 Sep 11
1
Can NOT overides the stub! in the setup
Hello, I am new to rSpec. I tried to search in the list, but could not find the answer, please forgive me if somebody already answered this. Here is my question: I have a stub in setup: before(:each) do @current_user = mock("devsu") # Generally, prefer stub! over should_receive in setup. User.stub!(:find).and_return(@current_user) session[:user] = @current_user.id
2006 Dec 07
1
templating, overide replace etc
Hello, the file type has some good stuff with replace and source : - replace : does it work when we put a content from a template ? i mean can i say source => template(xxx), replace => false so that if it does not exist it get created but if it exist the templete is not used - replace: while i am at it, could we have alias to false/true by yes/no it would be more readable and
2011 Feb 14
0
Overiding routes in rails3
I have typus and devise almost integrated. However I''m trying to overwrite the "Sign out" link with typus and redirect it to devise/sessions#destroy ---------------------- config/routes.rb ---------------------- 65 # Override typus TODO this does not work 66 delete "/admin/session(.:format)" => ''devise/sessions#destroy'', :as =>
2007 Mar 28
2
overiding concatenation of tables by alphabetical order
Hi everyone! When doing a has_and_belongs_to_many join, with two tables, rails expects a join table whose name is the concatenation of the two table names in an alphabetical order. However i have a number of tables which do not follow this convection and wish to have rails read and recognize them. for example i have a table called feature and another called cvterm. The join table is however
2017 Oct 18
4
Global stack on Cortex-M4
...ke sense ? UDEFS = -DOPUS_BUILD -DFIXED_POINT -DDISABLE_FLOAT_API \         -DOPUS_ARM_INLINE_EDSP -DEMBEDDED_ARM -DNONTHREADSAFE_PSEUDOSTACK \         -DOVERRIDE_OPUS_ALLOC  -DOVERRIDE_OPUS_FREE  \          -D'opus_alloc(x)=NULL' -D'opus_free(x)=NULL' Secondly; With the "overide" directives above no dynamic memory allocation is supposed to happen. However, the following call chain (obviously)  cause a crash: opus_encode(..)-> opus_encode_native(..)->ALLOC_STACK->opus_alloc_scratch(..)->opus_alloc(..) Is this a bug or what am I missing here ? Any adv...
2019 Feb 06
2
syslinux-6.04-pre2
...LAGS =/LDFLAGS = -z muldefs /' mk/efi.mk || die "sed muldefs failed" > > > > Should be a trivial fix by simply omitting those from the > syslinux-provided library functions on EFI. Yes, but I don't know the code that well so I took the easy way :) Also, syslinux overides/omits xFLAGS(CFLAGS, LDFLAGS etc.) so one cannot pass own flags. Would be nice if one could disable Warnings that are harmless. Jocke
2020 Jun 16
2
veto files
Hi I have many shares on my Samba 4 file server and I would like to restrict a long list of files to most of these shares. Is it possible to specify the prohibited files in the global section of smb.conf and apply them to most shares, except for a few? Regards, M?rcio Bacci
2005 Feb 09
1
Can't change server_URL data
...rver. The Orban encoder allows one to set the station name, stream title etc but there is no place for the station url, I suspect this has been hardcoded in as I've noticed a number of other stations using Orban's encoder also have links back to their web site. Is there a way to change or overide this in the icecast.xml file? server_URL: http://www.orban.com I using Windows 2000. Cheers Colin PS: Is there a search function for this email list, I can't find it if there is.
2006 Jan 22
0
Seperation of application specific view/controller stuff
...ller => user :action => signup and have it replace a div inside my sidebar? How would I create a partial for that? If the rhtml files are in my app/views will the engine know how to find it or is there a configuration option for it? Next the controller stuff, it says in the UserController to overide the home action. I''d like the home to be Catalog/welcome. How do I overide this? With regard to the user_engine, I''d like students to be able to self register and access their own records (both profiles and course selections). The college staff can access ALL registrations and a...
2005 May 25
1
Default caller ID
...it's always set to 'asterisk' which is what the phone displays. I've been looking for an option to change that. The only place I can find is DEFAULT_CALLERID in chan_sip.c. This is set by the 'callerid' option in the sip.conf. However the documentation states that this overides outgoing caller ID and I don't want to set that (OTOH the code implies it's only a default - chan_sip.c line 4163, plus the variable name is default_callerid). The CDR records a blank callerid from the zap channel, so it's not being set to 'asterisk' there - it does appear...
2004 Jun 08
1
uid and gid problems with linux as client and server
...d a server. The problem is I have a different uid on server (1001) to my client (1000) so when I try and access a file I appear to the client as not being the owner. I have tried the uid and gid options in smbmount, but they do not seem to have any affect (I assume the unix cifs extensions are overiding them). On the server side I have a create mask and a directory mask of 775 but this also has no affect. This is driving me spare! Is there any way to disable the unix cifs extensions or to map between uids? Thanks, Laurence
2007 Jul 31
2
adding valid user to a home share
...======= Of course, I do want to continue to use the general [homes] share, but for some users to allow other than themselves (%S) access to their home shares. For example, allow jane to connect to john's home share as she needs access to his data. Will a separate home share for these users overide the general [homes] share? Is there an easier way? Maybe some conditional syntax for valid users? Thanks. -- Chris
2009 Jan 27
2
dovecot 1.2 virtual folders question
...box = no } it doesnt work yet, but i am nearly sure that i havent understand http://wiki.dovecot.org/Plugins/Virtual perhaps you might bring me on the way background : i want to include a global sieve rule which sorts marked spam mails in a subfolder of inbox called Junk, so that users never can overide it and set perhaps an autoreply by an Sieve rule by incomming mail to inbox to make it possible that pop3 users may fetch sorted Spam mails outta the Junk folder too, i wanna use virtual setup folders Trash , Sent , Drafts are standart folders are standart and should be ignored with that -- Be...
2019 Nov 02
2
U2F support in OpenSSH HEAD
I've had a patch on the bugzilla for a while related to U2F with support for a few additional settings such as providing a path to a specific key to use instead of the first one found and setting if user presence is required when using the key. Is there any objection to folding those parts in if appropriate? Joseph, to offer comment on NIST P-256. There was originally quite a limited subset
2006 Feb 17
5
getting old values
Hi all, I''ve add :before_update event to my model Before updating a record I want to check if new attributes differ to old attr. My question is how to retrieve old attributes in :before_update event ? thanks -- gratis egold 1$ http://shegold.com/
2006 Aug 15
7
Trying to Overide Class Object Methdos For Testing
Hi, I thought I had a handle on the whole singleton class thing but now I''m not too sure. I have a class definition: class ValidationMaster def validate(params) # complex and time consuming validation # returns true on success, raises Exception # on failure end end Okay, so when I''m running my functional tests within rails, I want to be able to control how
2009 Mar 03
2
Passing an SQL fragment in AR save
I have a basic model class TestTime with no customization. class TestTime < ActiveRecord::Base end I would like to pass the following SQL fragment as part of an AR save call to TestTime objects. How and where would I do this in the model? "set c_time=current_time" (current_time is an SQL method, not a variable). -- Posted via http://www.ruby-forum.com/.