search for: branch_id

Displaying 10 results from an estimated 10 matches for "branch_id".

2006 Mar 15
1
Through method problems with custom foreign_keys
...h relationship in rails 1.1. p=Person.find(1) b=p.company_branches # gives this error: ActiveRecord::StatementInvalid: OCIError: ORA-00904: "CONTACTS"."COMPANY_BRANCH_ ID": invalid identifier: SELECT company_branches.* FROM contacts, company_branch es WHERE (company_branches.branch_id = contacts.company_branch_id AND contacts.p erson_person_id = 1) Notice that "contacts.company_branch_id" does not exist, it should be "contacts.com_branch_id" Here are the models: class Person < ActiveRecord::Base set_primary_key "person_id" has_many :co...
2006 Mar 16
10
Nubee Callbacks problem
I never want to alter a model(row). When a model has been changed i want a new copy to be created. What is the best way to implement this? I think using callbacks might be the answer. So model.save will create a new row, and leave the old one unchanged. Any ideas? I can easily implement this in the controller but i''d rather it be done transparently. Also errors should be passed back
2005 Oct 06
8
accessing extra request parameters
hi all, how are other people passing and accessing ''get'' parameters from their apps? what is the best way to do it? ie: www.example.com/controller/action/id/extra/extra2/ ?? or www.example.com/controller/action/id/~extra/extra2/ or what ever.... are there built in methods for passing and accessing extra parameters? thanks for your suggestions -felix
2011 Mar 28
2
"Holes" in a data frame with time intervals
...clarative" approach. I have a dataframe df with some information about bank branches with a validity time associated (start date/end date, format YYYY-MM-DD) to some attributes (for example number of employees assigned). The following example will clarify this description: BANK_ID BRANCH_ID EMPLOYEE # STARTDATE ENDDATE B1 A15 30 2001-01-01 2001-10-15 B1 A15 28 2001-10-16 2001-12-31 B1 A15 32 2002-01-01 2003-04-18 B1 A15 33 2003-04-19 2004-12-31 B1 A15...
2006 Apr 18
1
''wrong number of arguments'' for text_field?
...quot;, "controller"=>"inventories"} Inventory Columns (0.000387) SHOW FIELDS FROM inventories #<Inventory:0xb793a0e0 @new_record=true, @attributes={"created_on"=>nil, "status"=>0, "part_id"=>0, "account_id"=>0, "branch_id"=>0, "updated_on"=>nil, "created_by"=>nil, "quantity"=>1, "updated_by"=>nil}> Rendering within layouts/application Rendering inventories/new ActionView::TemplateError (wrong number of arguments (1 for 2)) on line #1 of app/views/in...
2008 Jun 14
1
Caseless folder delivery?
I'm using exim4 to deliver into dovecot 1.1, and using plus-addressing to deliver mailing lists directly to appropriate folders in my "lists" mailbox. I created a file called /folder-map.lists that looks like ## folder-map.lists dovecot: Dovecot lpedge: Linux PowerEdge ... and so on. So mail to lists-lpedge at jay.fm goes to the "Linux PowerEdge" folder. The one
2007 Apr 01
5
Best Hardphone (Subjective?)
After working with the Grandstream GXP 2000 series phones, I have decided that I am quite unhappy with their problems, both voice quality, volume, features and others. For their price now, there are plenty of phones to choose from as well. So subjectively what would be the best Hardphone for a small/medium business with multiple line support, BLF, etc. Are the Cisco 7960 the best of the
2009 Sep 28
5
Multi-databases support
Hi, While I was hacking ovirt-server, I have found that it's currently restricted to Postgres DB. Even if I like postgres for serious work on a server, I really prefer to hack/dev locally on a Sqlite or MySQL DB. I have googled on rails in order to find a good answer for the "foreign key problem" which forces OVirt to stay on pg. I have found a plugin on this particular
2007 Apr 12
2
Asterisk 1.2.17 and Cisco 7940/SIP: bug or what?
...uot;msoft", nonce="733b51d0" Content-Length: 0 SIPTaskProcessSIPMessage: Line filter: Determining destination line... get_method_request_trx_index: Getting TRX for method(INVITE), sent = 1 get_method_request_trx_index: Got TRX(0) for sent method(INVITE) sip_sm_determine_ccb: Matched branch_id & CSeq SIPTaskProcessSIPMessage: Line filter: Call ID match: Destination line = <0/1>. SIPTaskProcessSIPMessage: Received SIP response. get_method_request_trx_index: Getting TRX for method(INVITE), sent = 1 get_method_request_trx_index: Got TRX(0) for sent method(INVITE) sipSPICheckResp...
2009 Jan 15
2
Interface to open source Reporting tools
...help@stat.math.ethz.ch > Message-ID: > <971536df0901101404k457ef561kd02363539510fa5e@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > There do exist device manufacturers who GPL their device drivers, e.g. > > http://freshmeat.net/projects/wanpipe/?branch_id=73783&release_id=290741 > > On Sat, Jan 10, 2009 at 2:31 PM, Bert Gunter <gunter.berton@gene.com> > wrote: > > > > I think the substance of the issue is that the more eyes on code, the > fewer > > the bugs (assuming a well-designed examination and debugging p...