Displaying 20 results from an estimated 6000 matches similar to: "how to generate transactions using braintree gateway"
2010 May 21
0
Multiple Models one form and validations ... no transactions(mongo)
I am trying to setup a sigup form thats pretty much just like the
basecamp form. https://signup.37signals.com/basecamp/Plus/signup/new
I want to create
a User
a Studio
and a Subscription(chargify)
a Subscription belongs to a Studio and not to a User. User gets tagged
onto a Studio via an admin array.
Is there any way to do this all in one form and still get back
validation errors etc without
2006 Jan 26
1
Transactions for multiple models
I have users and companies tables where users belongs_to companies.
def signup
@company = Company.new(params[:company])
@user = User.new(params[:company])
@user.company = @company
if @user.valid? and @company.valid?
@company.save
@user.save
end
end
How can I make this into a transaction? Is this a candidate for a
distributed transaction?
If so, from what I understand from the API,
2017 Sep 24
1
Connecting to internet with USB tethered iphone
>
> > +1 for just using wifi! :)
>
> -10 for not bothering to read my message where I said the machine has no
> wifi.
>
sassy
2015 Dec 04
2
GlobalsAA from GVN
>You could, in the LTO pipeline, reinsert GlobalsAA after the SLPVectorizer
(not saying you should).
I didn't realise that adding GlobalsAA* after* SLPVectorizer could help.
Thanks for this tip.
>There is something fishy. Do you have a test case that reproduce with
llvm-lto?
I'm currently looking at a proprietary benchmark. I'll try to extract out a
simple test case and send it.
2006 Jun 16
0
rake spec controller test output hideus.
Is there any way to change the output of rake spec fails?
The errors are just totally over the top ugly and not helpful. First
of all the ruby -Ilib line always comes before each test and I find it
distracting. But if an error occurs on something that is not nil it
just gives me the entire contents of that object and that is no small
matter when the object is a HTTP request response.
Here is
2007 Jul 18
3
Help. Acts_as_Authenticated plugin stops working for me?
Hi,
I successfully installed AAA couple days before, and i managed to
register a uer with it, with no user activation.
but for some strange reason, it stops working for the signup method,
with i go to the signup page, press submit, it shows an error page,
what''s wrong? here''s the error page.
undefined method `activation_code'' for #<User:0x3b6dbd
2015 Dec 03
2
GlobalsAA from GVN
Hi Mehdi,
Thank you for the response.
I'm actually on an LTO setup and was referring to
PassManagerBuilder::addLTOOptimizationPasses. Here, GlobalsAA is scheduled
to run well ahead of SLPVectorizer. However since GlobalsAA is a module
pass, it runs once and a bunch of passes, including SLPVectorizer is run
for each function. When one of them invalidates the analysis, rest of the
functions do
2015 Dec 04
4
RFC: New function attribute HasInaccessibleState
>What if you had bitcode versions of your C library
Then the definitions for these functions would be available. Would we still
set function attributes to these functions in FunctionAttrs.cpp if their
definitions were available?
>This also seems a bit tailored to malloc/free, and can't work for
user-defined allocation functions
I don't think so. For example, printf would have the
2015 Dec 04
4
RFC: New function attribute HasInaccessibleState
that would be an escaping global, and as far as I know is handled separately in GlobalsAA (AnalyzeUsesOfPointer checks if a global is used as operand to a function)
On December 4, 2015 11:47:20 PM GMT+05:30, James Molloy <james at jamesmolloy.co.uk> wrote:
>It is if one of the operands is or can alias a global ?
>On Fri, 4 Dec 2015 at 18:16, Vaivaswatha Nagaraj <vn at
2015 Dec 04
3
RFC: New function attribute HasInaccessibleState
> On Dec 4, 2015, at 10:33 AM, Hal Finkel via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> ----- Original Message -----
>> From: "Vaivaswatha Nagaraj" <vn at compilertree.com>
>> To: "James Molloy" <james at jamesmolloy.co.uk>, "Hal Finkel" <hfinkel at anl.gov>
>> Cc: "LLVM Dev" <llvm-dev at
2015 Dec 04
2
RFC: New function attribute HasInaccessibleState
writing into operands is not the same as writing to globals right? I added printf in the same category since we were discussing writing to globals.
On December 4, 2015 11:34:10 PM GMT+05:30, James Molloy <james at jamesmolloy.co.uk> wrote:
>Hi,
>
>I just want to reiterate: printf and friends do *not* fall into this
>category as they can write to their operands (unless you parse
2014 May 15
3
Invoking virsh console from Java
Hello,
I have a Java application from which I am invoking the "virsh console"
command to access the console of a VM. I invoke the virsh command using
ProcessBuilder.start(). However, I am unable to communicate with the stdin
of the VMs console through the OutputStream of the Process object.
When I invoke "virsh console" from within Java, I see the following
messages on
2002 Aug 05
0
DOVECOT.PROCONTROL.FI
2011 Jun 09
0
failing integration test
I am following the Ruby on Rails tutorial here:
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book?version=2.3
I am at this section:
http://ruby.railstutorial.org/chapters/filling-in-the-layout?version=2.3#code:layout_links_spec
Here is my layout_links_spec.rb:
require ''spec_helper''
describe "Layout links" do
it "should have a Home page at
2015 Dec 03
2
GlobalsAA from GVN
Thank you both for the inputs. I've created a patch for the same, please
review:
http://reviews.llvm.org/D15185
>You can specifically insert it into the pass pipeline, but in this case,
we should just fix SLP to preserve the analysis.
@Hal, I tried doing this but it didn't seem to work. I added the GlobalsAA
pass right before GVN but it didn't seem to help. In retrospect, looking
2006 Oct 09
4
help
1.)How can i determine the number of pages in one stream?
2.)Whether size of page is same with in the whole stream?
kindly answer these questions as early as possible.
Nagaraj C L
Flextronics Software System
Desk: 41069445
Mobile:9886695116
*********************** FSS-Unclassified ***********************
"DISCLAIMER: This message is proprietary to Flextronics Software Systems (FSS)
2010 Mar 31
0
Xen 4.0 on Debian - Kernel 2.6.32.8 with L7-Filter
Hi All
Is it possible to add the l7 patch http://l7-filter.sourceforge.net/ to the
Xen Kernel Tree.
I want to make sure this will not cause any problems with the system.
I also wonder if http://www.linuximq.net/ kernel patch is also compatible.
If someone can advise this it will be great
Thanks
Sassy
_______________________________________________
Xen-users mailing list
2010 Mar 31
0
Xen 4.0 on Debian - Kernel 2.6.32.8 with L7-Filter
Hi All
Is it possible to add the l7 patch http://l7-filter.sourceforge.net/ to the
Xen Kernel Tree.
I want to make sure this will not cause any problems with the system.
I also wonder if http://www.linuximq.net/ kernel patch is also compatible.
If someone can advise this it will be great
Thanks
Sassy
_______________________________________________
Xen-users mailing list
2006 Jul 07
1
question about routes and using flash for navigation
I have a flash movie that I''m using for site navigation.. I have links such as:
''/site/signup'', ''/site/login'' and ''/site/faq'' where site is my
controller and signup, login or faq are my actions.. I also have the
following routes defined in routes.rb:
map.connect "/", :controller => "site", :action =>
2011 Feb 08
1
Rails and WebSockets
I''m thinking of starting on a Ruby website that uses WebSockets, and
perhaps working some on a server for it beforehand. Is good support
for asynchronous connections something I could work on adding to the
Rails core? Is it feasible? Desired? As I understand it, Rails plugins
like Juggernaut [1] aren''t going to optimally support async, since
they can''t re-architecture