Displaying 20 results from an estimated 5000 matches similar to: ""ActiveRecord::Base.connection.execute" nubee problem"
2006 Mar 27
2
Form Validation with 2 models on form. Nubee Question
I have one form in which i enter Person data and Employee Data. A Person
and Employee model are used. I am using a legacy schema, so this is
forced.
How do i use save the data while using rails form validation?? I only
want both models to save if they both save.
Controller :
This odviously doesnt work:
def create_employee_and_person
employee = Employee.new(params[:employee])
person =
2006 May 03
1
Nubee Fixtures + Tests problem
According to the book, @timesheets["first_timesheet"] should be
accesible from within my functional test, but its not!
Timesheets.yml :
first_timesheet:
status: 2
start_date: 2006-04-24
cost: 10
employee: 444
id: 10683
charge: 20
My Test :
class AdminTimesheetsControllerTest < Test::Unit::TestCase
fixtures :timesheets
def test_viewTimesheet
get
2006 Apr 04
4
Cannot upgrade rails to 1.1, only 1.0. Nubee. Please help
I''ve used putty to SSH in to our solaris system as root:
Here is what happens when i try to install rails:
# gem install rails -include-dependencies -p http://saiproxy:3128
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Successfully installed rails-1.0.0
So my question is why
2006 Apr 27
6
Functional Test Problem. Nubee, please help
ALl my controllers require the user to be logged in. SO they will be
redirected to my "login" controller.
How do i login first in a functional test? Im assuming i use the setup
method to login the controller.
This is the setup method for the Activities controller functional test:
def setup
@controller = ActivitiesController.new
@request =
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
2016 Aug 04
4
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
Dear sir,
Thanks for your reply. I apologize for taking a few days to reply.
> Crashed how?
Please see the below.
> Have you turned on ASan?
Not yet, but thanks for the suggestion. I guess I will try to rebuild my modified Clang+LLVM
with addr. san. and see what happens.
> I recommend attaching a minimal reproduction...
Well, since I`m hacking on LLVM itself, this is not
2016 Jul 27
2
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
Dear all,
In the process of trying to add optimization for better layout of global variables, I have run
up against a roadblock: I don`t seem to be able to sort the contents of a
"SymbolTableListTraits<GlobalVariable>" -- or even swap two elements in that list -- without
causing LLVM to crash.
I have tried writing a comparator class and then using "llvm::iplist<
2006 Jun 01
5
RAD RAILS Problem. Wont start! Linux nubee
Hi
I''ve just installed SUSE linux, downloaded RADRAILS, and extracted it to
/home/myname/bin/radrails.
When i try to run it i get the red radrails logo and then it gives me an
error and stops loading. Its my first day using Linux, previously i
have used windows, so any help is greately appreciated. Here is the log
file with the errors in it :
chrisr@s213:~> cat
2008 Mar 11
2
Problems mountine lustre thru an ib2ip gateway
Hello,
I am trying to mount a lustre filesystem thru an ib2ip gateway.
The MDS''s have infiniband connections. The client nodes are tcp/ip
connections. I am able to route between the client nodes and the MDS''s.
I have the following in /etc/fstab:
abe-mds1 at o2ib0,abe-mds2 at o2ib0:/home/client /abehome lustre
_netdev,flock 0 0
I get the following when trying
2016 Jul 25
7
grouping global variables by alignment: safe to do at LLVM level, or only at Clang level?
Dear all,
Howdy! ;-) This is Abe of the Samsung Austin R&D Center`s compilers team.
As an early part of a project that should help performance on some CPUs, I would like to cause
global variables [at least from C and C++ programs] to be grouped together according to their
alignment needs, which should help to slightly reduce RAM requirements in some cases. IMO this
should be done at
2010 Jul 08
2
How to regenerate passdb.tdb
Hi,
I was having problem with the tdbsam backend in which a particular user got
listed twice with pdbedit.
(http://www.mail-archive.com/samba at lists.samba.org/msg109110.html)
Without much hope in fixing it, I am planning to re-generating passdb.tdb on
my PDC by:
(1)exporting tdbsam to smbpasswd backend
(2)delete passdb.tdb
(3)re-import smbpasswd to tdbsam backend
With the command `
2005 May 29
4
Re: Digium Website Update: Asterisk Business Edition
Browsing through the new website...
* Q - Does Asterisk Business Edition contain any additional features, fixes,
or enhancements not found in the open source versions of Asterisk?
* A - Digium remains committed to the open source model, and has based
Asterisk Business Edition entirely on the open source tree.
However, no single release of the Open Source version corresponds
2009 Mar 25
3
anonymous dtrace?
Hello experts,
I heard that there is something called anonymous dtrace that would still
be running when I do a reboot.
Basically, I have the following problem:
The /boot/solaris/bootenv.rc file in my alternate boot environment is
getting modified when I reboot the machine after doing luactivate <ABE>.
It happens only on init 6, doesn''t happen when I do a simple reboot.
The set
2010 Jul 05
7
How to Dialogic 240/JCT-T1 interface with Asterisk?
Hello all Asterisk Users,
This is my first post here.
We are in a process of moving Dialogic 240/JCT-T1 from old voicemail server
to Asterisk box.
Which card drivers do we need?
Please share experience if anyone have successfully configured Dialogic
JCT-T1 card with asterisk?
Only source proves that this card work with *
http://lists.digium.com/pipermail/asterisk-dev/2003-April/000244.html
2008 Mar 01
1
"callpark" feature in ABE?
Hi All -
Anyone know if the "callpark" feature is in ABE?
Is there a comprehensive list of the differences between ABE and the
open source version? I've only seen a bullet-point chart which has no
real detail.
Thanks,
Noah
2016 Aug 04
3
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
On 08/04/2016 01:33 PM, David Majnemer wrote:
> You should never be copying or moving around Values.
Why not? Is that because of this thing you also wrote in the same message: "use lists are
allocated before the object"?
> An llvm::Value (which GlobalVariable is a subtype of) should exist only in the heap.
Trying to sort a container of such objects doesn`t require me to
2009 Dec 01
2
Issue with T38 fax Calls
Hi all..
Im using ABE C3.2.1 version and here Im having the following issue with
respect to T38 fax calls.
Somehow asterisk when it receives Session modification request with the
T38 Codec, is not forwarding the request to the other end. Also asterisk
is responding with 200 Ok to this RE INVITE with an audio line rather an
media line with image. The session id here strangely matches to that of
2016 Sep 29
2
[cfe-dev] improving test-suite`s FP subtests to be able to compare both exact-match outputs and more-optimized builds that may have different outputs due to FP optimizations
----- Original Message -----
> From: "Matthias Braun via cfe-dev" <cfe-dev at lists.llvm.org>
> To: "Abe Skolnik" <a.skolnik at samsung.com>
> Cc: "llvm-dev" <llvm-dev at lists.llvm.org>, "cfe-dev" <cfe-dev at lists.llvm.org>
> Sent: Thursday, September 29, 2016 6:20:09 PM
> Subject: Re: [cfe-dev] [llvm-dev] improving
2016 Sep 29
2
[cfe-dev] improving test-suite`s FP subtests to be able to compare both exact-match outputs and more-optimized builds that may have different outputs due to FP optimizations
Dear all,
I would like some help, please, with implementing Hal`s excellent suggestion, which I have
reworded as below. Hal has confirmed a previous version of my rewording as a correct
interpretation. [I made minor changes since then, e.g. for grammar.]
[Abe wrote:]
>> I think you [Hal] are suggesting something like this:
>> 1) compile the program with FP fusion off,
2016 Aug 17
5
code to sort otherwise-unsortable "ilist"s, e.g. symbol tables
Dear all,
The below has been tested quite thoroughly by now, including performance-testing by the way of
using a modified compiler that triggers the below while compiling at least an old part of LLVM
["Function.cpp"] and sorting a symbol table with >7000 global variables.
Unfortunately, the optimization I have been working on for which I _thought_ I needed the
ability to sort a