Displaying 20 results from an estimated 1000 matches similar to: "Transactions and migrations (lots of records)???"
2006 Apr 25
4
Symlinks in Capistrano?
I have a few projects with large directories (say, user-uploaded files) that
make using Capistrano a bit awkward. However, I suspect that I may have
reached the "write a custom task" level.
(I suppose I''m just thinking out loud, here...)
It seems as though I''d want this directories symlinked in /shared... Maybe
there''s a way to extend the
2006 May 03
2
grouped output
hello,
Suppose I have a table that looks like this:
center name email
Health Jon jon@test.com
Health Bob bob@test.com
Admin Jane jan@test.com
Admin Jill jill@test.com
I would like the output to look like this:
Health
Jon jon@test.com
Bob bob@test.com
Admin
Jane jan@test.com
Jill jill@test.com
when i using cold fusion, this was easy via a tag called cfoutput.
when i was using java, this was
2006 Apr 24
8
Application Design
I have a question about how to implement a design in Rails. I will try to make this as easy to follow as possible. First, let''s say that I have an ''Orders'' table that has different statuses. The 3 statuses that I want to track are ''Submitted'', ''Approved'', and ''Purchased''.
I also have 3 users of this application.
2006 May 05
31
The perfect development environment?
I am trying to create the perfect development environment for rails
and i dont know exactly which way to go. Do i create a windows
environment or a *nix environment. If i go *nix, what distro is best
suited for rails. I would be using mysql, so that would come in to
play. If i go *nix, i would use apache. Any ideas for the right
environment would be greatly appreciated. I guess the major choice is
2006 May 02
3
Ordering Results returned by has_many relationship.
Noob Question 31,265,232
if I''m searching on an object, say order, that has many "order_lines"
and I want to display order lines by Quantity ( an attribute of the
order_lines ) descending
how could I do that without having to do a find() with :order, but
something like;
Order.order_lines.each do |ol|
<!-- code to diplay the line -->
how can I determine the field
2006 Jun 15
4
testing with transactions
Hello!
I experienced problems with testing transactions which are supposed to be
rolled back, but are not, because of transactional fixtures eliminating the
inner transaction. Can this be worked around somehow without turning off
transactional fixtures? Maybe savepoints can help this?
Does anyone have any experience with savepoints to achieve nested transaction
functionality? Both Postgres
2007 Feb 28
12
Specifying that code is called in a block
Not sure if this is possible currently.
I have a section of code like this:
ActiveRecord::Base.transaction do
cow.save!
duck.save!
dog.save!
end
(Names changed to protect the innocent.)
I''d like to specify that the saves run in a transaction. I can do
ActiveRecord::Base.should_receive(:transaction).and_yield
But is there any way to specify that the code is
2006 Apr 03
4
How to fake composite primary keys?
I know ActiveRecord doesn''t support composite primary keys, but I need to use
one, and I need it ASAP. I don''t need any composite foreign keys, luckily;
what I have is a table that stores old versions of rows in another table, so
the composite key is an id + date stamp. Would someone tell me a hack I can
use to support this?
--
View this message in context:
2007 Jan 08
0
Samba 3.0.22 PDC trusting Active Directory 2003
I'm a longtime Samba user and admin (since 1.7) and I thought I had seen just about everything until Active Directory 2003 (native mode) completely took out our Samba user authentication (each server auth=domain to an AD 2000 domain). We have Samba running on a variety of servers (AIX, HP, Linux) and need to be able to provide our users with the ability to access their appropriate shares
2006 Aug 10
6
save without commit ?
How do I get ''save'' to execute without commit?
I have tried:
ActiveRecord::Base.connection.begin_db_transaction
# do some stuff that doesn''t issue a database COMMIT statement
# then:
@myObject.save
# this issues a COMMIT but it shouldn''t! Shouldn''t it wait until I''ve
called:
ActiveRecord::Base.connection.commit_db_transaction
?
what am
2019 Jun 03
3
Difficulty with samba after updating from 3.6.6 to 4.9.0.0
Server - HPUX 11.31
Clients - WIN7 WIN10
After upgrading my versions to 4.9.0.0 I've noticed that we're unable to connect to our AD joined SMB HP-UX Server any longer.
Could someone tell me where to begin digging in release notes between 3.6.6-4.9.0.0 to find out what changed in the smb.conf file that would be causing our problems?
Here's a somewhat similar .conf output
global]
2016 Jul 26
2
Does e2fsck.conf contain "broken_system_clock = 1" per default on CentOS7?
On Tue, 26 Jul 2016 16:21:00 +0100 (BST)
John Hodrien <J.H.Hodrien at leeds.ac.uk> wrote:
> On Tue, 26 Jul 2016, Gabriele Pohl wrote:
>
> > on all of my CentOS7 VMs on different hypervisors
> > the config file e2fsck.conf contains the line
> >
> > broken_system_clock = 1
> >
> > Do you see similiar /default/ settings on
> > your machines? Is
2001 Nov 23
2
Rose diagrams in R?
I am looking for a function (or package) to plot histograms of directional
data such as wind direction. I believe these are called rose diagrams. Is
there an R script for this? If not, can it be constructed in a function
calling primitive graphic calls (lines, circles, boxes or polygons)?
The stars function is not quite right.
--
David Finlayson
Geomorphogist and GIS Specialist
NearPRISM -
2015 Oct 16
2
question about llvm partial unrolling/runtime unrolling
Hi Hal,
I did
opt.exe -S -debug -loop-unroll -unroll-runtime=true -unroll-count=4
csShader.ll
and it prints out:
Args: opt.exe -S -debug -loop-unroll -unroll-runtime=true -unroll-count=4
csShader.ll
Loop Unroll: F[build_cs_5_0] Loop %loop_entry
Loop Size = 82
partially unrolling with count: 1
Thanks,
Frances
On Thu, Oct 15, 2015 at 9:35 PM, Hal Finkel <hfinkel at anl.gov>
2015 Feb 04
2
[LLVMdev] Is this a bug with loop unrolling and TargetTransformInfo ?
Hi,
I ran into this issue recently and wanted to know if it was a bug or expected behavior.
In the R600 backend's TargetTransformInfo implementation, we were setting
UnrollingPreferences::Count = UINT_MAX. This was a mistake as we should have been
setting UnrollingPreferences::MaxCount instead. However, as a result of setting
Count to UINT_MAX, this loop would be unrolled 15 times:
if (b
2018 Apr 25
0
Can't Get Lattice Histogram Minor Tick Marks to Work
Per the Posting Guide, why didn't you post the reproducible R code example?
On April 24, 2018 8:22:15 PM PDT, Donald Macnaughton <donmac at matstat.com> wrote:
>I'm drawing a paneled histogram using the lattice package. I've
>succeeded in
>adding minor tick marks to the vertical axis, but I can't get the
>desired
>number of minor tick marks between the major
2018 Apr 25
3
Can't Get Lattice Histogram Minor Tick Marks to Work
I'm drawing a paneled histogram using the lattice package. I've succeeded in
adding minor tick marks to the vertical axis, but I can't get the desired
number of minor tick marks between the major tick marks.
I've attached a self-contained program to illustrate the problem.
Thanks for your help,
Don Macnaughton
Here's my sessionInfo:
R version 3.4.3 (2017-11-30)
Platform:
2006 Nov 13
2
Samba 3 and Windows 2003 Active Directory
Hi all,
Thanks is advance for any help you can offer -
I just inherited a Samba file server in my new position, and am familiar
with Samba, but no genius in it. The problem is that we need to upgrade
our Windows 2003 domain, and our Samba server - version 3.0.10-1.4E
won't connect to a Windows 2003 active directory. So, we have to leave a
Windows 2000 DC running to authenticate to it.
2006 Mar 24
3
module kernel for adaptec 2110s in CenOS 4.2
Hi.
I''ve used ghost for change the ide disk for an array of scsi in raid using
an adaptec controller 2110s.
Now when I boot it didn''t boot correctly. Looking for in Internet
(http://kbase.redhat.com/faq/FAQ_46_4969.shtm) I guest that I have to
rebuild the initial ramdisk to contain the proper kernel modules for the
adaptec controller. But what is the kernel module for
2018 Apr 25
1
Can't Get Lattice Histogram Minor Tick Marks to Work
Thanks Jeff,
I attached a file with the program to my earlier email because the posting guide seemed to imply that non-binary attachments would work. But I see that the file was stripped off.
I installed the program file on a web site, but when I downloaded it, the line breaks were stripped out. So I've included the program below:
-------------------------------------------------------
#