Displaying 20 results from an estimated 3000 matches similar to: "Credit Card Processing / Merchant Account"
2006 Sep 06
4
Setting Product Env
When I am using my rails models in my worker class, it appears the
background worker class is always using development no matter what I do.
I set background.yml to production. I even have ENV[''RAILS_ENV''] ||=
''production uncommented in environment.rb. I don''t have the development
db even created on my production box, so not sure where it is getting
development
2006 May 03
7
Business Logic and where to place with rails
I am having an issue of deciding where I should put the business code
for example the more complex code coming off the controller. Right now,
I am just thinking to put it in the ''lib'' directory and the do something
along these lines:
require_dependency "system_process"
class SystemMessageController < ApplicationController
include SystemProcess
...
...
Where
2006 May 04
22
Should controllers be "smart"?
I''m working on a small project with a friend, and one of the things we
needed to do was send off an email whenever someone signs up an
account. His implementation was pretty simple - throw a
deliver_welcome call inside the controller after the signup. I''m sure
that this is a pretty common thing to do.
The problem, in my mind, was that the app now became tied to two
places -
2006 Jun 08
3
MVC and Pagination
Just wondering how to best integrate with pagination and still stick to
MVC...
Say I have a Post model that has a published attribute. I want to show
all the recent published posts on a page.
My first instinct is to create a method in the Post model called recent
that does the find with proper conditions and order, but the problem I
have is how do I use that with pagination (which definitely
2006 Apr 19
4
RJS replace_html auto-closing tags
I''m using the following RJS template to spit out a div containing a
list of projects:
page.replace_html ''results'', ''<div>''
@projects.each do |p|
page.insert_html :bottom, ''results'', p.name + "<br/>"
end
page.insert_html :bottom, ''searchresults'', ''</div>''
page.show
2006 Mar 16
4
problems with latest and greatest ?
I just did the following:
1) checked out latest rails from svn.
2) built project using the /bin/rails with the latest rails binary.
3) did a "rake freeze_edge" within the project
Now, script/server is failing
===========================
./script/../config/../vendor/rails/railties/lib/commands/../tasks/tmp.rake:1:
undefined method `namespace'' for #<Object:0x401ce970>
2003 May 28
5
Slow performance with QuickBooks
I have spent much of the day today researching performance tuning with
samba. I have tried everything that I can find out about how to make
performance faster. I checked disk performance with Bonnie, installed FTP
and tested a transfer that way, achieving 6-7 MB / second. about 30 seconds
for 150 MB file. I was finally able to achieve those speeds on a file
transfer to the server through
2003 Jun 09
7
Quickbooks revisited
I did testing on generating this report from a 130 MB Quickbooks file.
Locally, 15 seconds. Samba Server, 1:35. Shared off of my win98
Workstation, 2+ mins. I do not understand the reason it is SOO slow. I
know it is a fairly large file. The only explanation I can come up with is
the way QuickBooks is accessing the files. Maybe jumping all around the
file, requiring many operations on the
2006 Mar 09
2
Edge Rails Webrick Problem
Can anyone help me with the following error while trying to start
webrick on edge rails? Was working last week, but recent updates are
causing the following error. Is there something in my existing rails
dir that I might need to update?
Thanks in advance for any help.
./script/../config/../vendor/rails/activesupport/lib/active_support/core
_ext/kernel/agnostics.rb:7:in ``'': Exec
1997 Oct 15
8
OPLOCKS
Robert Dal Santo wrote:
> Is there any work underway to get Samba to support OPLOCKS? I know
> they are difficult to implement but I'm faced with a decisions now to buy an
> NT box (Ugh!) or do a lot of messing around to get this application
> to perform decently. The application in questions takes around 5
> hours to do a taks without OPLOCKS and around an hour to do the
2006 Mar 14
5
Controller Naming Question
Is it possible to have controllers named the following?
/admin
/admin/user
If not, is there some way to get it to work with routes?
I want to have some actions at the url /admin/<action> and some at
/admin/user/<action> (obviously in admin/user controller).
Thanks!!!
2006 Jun 17
2
preventing indexing of an acts_as_ferret''d model?
Hi, this is hopefully an easy one, but I''ve gone through the api and searched
past forum entries, and am drawing a blank.
I have a model that with acts_as_ferret mixed in to it, which is working fine.
But I want users to be able to set a ''private'' attribute on the model, and when
it''s set to true, create and update methods would skip indexing. So, how can I
2006 Jan 14
11
nuby: do models have to inherit directly from ActiveRecord?
Hello,
I have a few models -- book, cd, dvd -- for which I''d like to have an
abstract base superclass to hold some common stuff. That abstract class, I
was thinking, would inherit from ActiveRecord.
Didn''t work, though, and looking around, I found this:
<http://wiki.rubyonrails.com/rails/pages/HowtoMakeAbstractModel>
2006 Jan 16
15
where''d we come from?
I''m curious -- how many of us came to Rails from other branches of the OO
world -- Java, C# -- and how many of us came from the design or non-OO
scripting worlds?
Reason I ask is that I''m finding Rails a blast and very productive, but I
think one reason is that I already cut my teeth on MVC and ORM during two
years of writing apps with J2EE/Struts/Hibernate. And in Javaland, it
2006 Jan 17
5
Noob Question concerning code in Agile Web Development with Rails
Hi,
I''m currently learning Ruby on Rails using "Agile Web Development with
Rails." I am using RadRails as my development environment. Everything has
been going along well, until the end of chapter 7. Just before the end of
the chapter, we set up our store pages so that they can be styled with the
depot.css stylesheet. This is where I run into my problem. The stylesheet
2006 Apr 21
4
Simple Controller/Routes Question
This is probably a very basic question, but what is the proper
controller & routing setup if I''m setting up a RoR site with static
pages, like:
http://mysite.com/about
http://mysite.com/services
http://mysite.com/contact
I want each of these pages to use a single template file that I can push
content to. It seems like overkill to create individual controllers for
about,
2006 Jan 22
2
a newbie doomed in the first introduction to ruby.
Hello,
I have bought the Dave Thomas Agile Developtment with Rails. (I have
previously bought and read his Programming with Ruby book)
On my winxp sp2 system ruby 1.8.15 (one click installer), rails
1.0framework (with ruby gems) and mysql
5.0 are installed.
While following the example stated in the Chapter Building an Application I
had following problem.
After creating databases for test,
2009 Sep 16
2
Active Merchant Error
Hello friends,
I m using Active Merchant(version = 1.4.2) gem.
in billing calculator i m require ''active_merchant'' and when i m open
the page it is throw error such
"no such file to load -- active_merchant".
Can you guyz tell me how can i resolve this problem ...
Waiting for every possible answer
--
Posted via http://www.ruby-forum.com/.
2009 Mar 04
2
Service Merchant
I''m about to dive into a revamp of the payment processing engine for a
my company''s software application service. I came across a tool called
Service Merchant (http://servicemerchant.org), and it looks like it
could be a good fit for me, especially since we do recurring monthly
subscription billing.
Has anyone tried using it? Liked it? Any suggestions or comments?
George
2003 Oct 30
2
Debian Sarge (testing), Samba 3.0 RC4 and Quickbooks
Debian and Samba Teams:
I'm having a really weird problem with Samba 3.0Beta2+RC4 on my Debian
Sarge (testing) system with Quickbooks Pro 2002 multi-user
version.
The version of my question is: Does anybody know what the proper global,
share, and permissions settings should be to support multi-user Quickbooks
on a Samba share?
The Long Version:
The Quickbooks data-file resides on it's