search for: newrecords

Displaying 5 results from an estimated 5 matches for "newrecords".

Did you mean: newrecord
2006 Aug 03
6
create or update -
Hi everyone, I''m looking for a shortcut to finding and updating or creating record depending on the results of the find. So, is there a shorter way to do it than this? @stuff = Stuff.find_by_foo_and_bar("yay","hooray") if @stuff: Stuff.update(@stuff.id, {:foo => "boo", :bar => "hoo"}) else Stuff.create({:foo => "boo",
2008 Apr 11
1
SQL INSERT using RMySQL
...abase using RMySQL, but am having problems appending rows to an existing table. What I *want* to do is to append rows to the table, allowing the database to automatically generate primary key values. I've only managed to add rows by using dbWriteTable( con, "past_purchases", newRecords, overwrite=FALSE, append=TRUE, ...) And this only appears to properly append rows (as opposed to overwriting them) IFF 1) the row names for newRecords are new unique primary key values, 2) the argument row.names is TRUE. If row.names is FALSE, the records will not be appended, even if newRe...
2006 Jul 06
2
Validation Error
Hi all, I''m trying to validate a data field. I''ve added ''validate_presence_of :name'' to the record model, but when I try to create a record i get an error complaining that it can''t find data from another table that also is updated on that page. Let me explain further, On my ''record'' update page, I have data from another table
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 12:36 PM, Duncan P. N. Exon Smith < dexonsmith at apple.com> wrote: > > On 2017-Apr-04, at 12:12, Peter Collingbourne <peter at pcc.me.uk> wrote: > > On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> >> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: >>
2006 Feb 19
2
Line Dropouts on E405P
Hi, We have a Ericsson BP250 Phone system setup witht he following configuration Telco <-> Asterisk E405P <-> BP250 The system seem to work perfectly on 1.0.9 for a very long time but there is some functionality we wanted to take advantage of in the 1.2 version branch so we upgraded. Currently running Asterisk 1.2.4 Zaptel 1.2.3 (noticed 1.2.4 is out will upgrade next