similar to: Working out sales tax...

Displaying 20 results from an estimated 1000 matches similar to: "Working out sales tax..."

2006 Mar 21
11
Stuck on ActiveRecord
Hi, I''m having great fun developing with Rails but I''ve come to a problem that I can''t quite figure out. I have an Order object that "has_many" order_lines. This works perfectly and I can see all the lines. The OrderLine object has an order_id field as well as product_id and amount. Now ideally I would want to do : order.orderline[0].product.name for
2006 Mar 29
13
Rails on Mongrel
Hi, After following advice from you good folks, I gave mongrel a try in a cluster design based on the example on the Mongrel website - and it worked right out of the box which is great - and it''s very fast :) I have got a bit stuck though. I have two MS Word files in /public/files/. I can pull back these files no problem but it isn''t sending a mimetype. I think I have two
2006 Mar 28
6
Deploying rails...
Hi, I thought I''d give lighttpd and FastCGI a go but the latest version I''ve found for fastcgi is 2.4.0 which was released in January 2003. Is this the right version? Can anyone recommend the versions I should use for FastCGI et al and where to find them? I''m not sure I''ve really found what I''m looking for... -- Posted via
2006 Apr 12
1
URL Paths
Hi, I''m looking to rewrite an existing app in Ruby but it makes extensive use of URL paths. For example a site would redirect to : /Portal/foo/ and from this I could tell that ''foo'' was the site that did the redirect. Of course when I try this with Ruby I get "method not found" which is hardly surprising. I''ve had a quick look round google but
2006 Apr 17
1
SOAP and exceptions
Hi, I''ve been doing more searching, and I''m kinda stuck on how to send back error messages to a SOAP / XML-RPC client if say for example the username and password they supplied were incorrect. Can anyone point me in the right direction? Cheers, Pete -- Posted via http://www.ruby-forum.com/.
2006 Mar 21
1
Form Validation
Hi, I''ve got an interesting one here :) I have a form with three fields : serial_number initial surname now, if serial_number is entered, it must be between 1 and 64000. If it''s filled in, the other two fields must be blank. If serial_number is left blank then the other two boxes must be filled. Any suggestions? -- Posted via http://www.ruby-forum.com/.
2006 Mar 23
3
Returning CSV data to the client
Hi, One of my apps has to export data for the backend system to process it. What''s the best way to create a CSV file in Rails and then return it as a file to the client? i.e when they go to the link /csv/get_data it would return a csv file. I''ve been messing with the CSV library and I can get it to write out to a file, but not sure how to best use this in a web app. Hope
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must
2005 Dec 15
2
Rails Tagging Generator?
Hey all! Just finished my first Rails app on 1.0 day and even got paid for it! Great stuff and much thanks to the many generous souls in IRC, especially ezmobious, who helped me through. For my second Rails app, I want to use tagging. I am wondering if there is a Tagging Generator or some other existing implementation I can borrow from? Best, Mike Pence Boca Raton, FL
2006 Jan 20
4
REST API''s and querying a graph of objects
Hey all, I am wondering if anyone has given thought to using REST / XPath as querying mechanism. That way you could have a URL that actually maps to a collection of records (objects, really) that meet a certain criteria and that are sorted a certain way. Mike Pence
2006 Nov 01
1
Referencing a plugin in a spec
I am writing some specs that use ActiveMerchant to talk to a cc provider. When I try to "include ActiveMerchant::Billing" in my spec, it tells me it can''t find the plugin: ./activesupport/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant ActiveMerchant (NameError) Do I need to explicity require the main plugin file? Thanks, Mike Pence
2006 Jul 25
1
Blank map?
Hey all, I''m a little frustrated here. The controls for the Google Map show up, but the map itself seems to either never appear or to briefly flicker onto screen, then to disappear. My controller is simply this: @map = GMap.new("map_div") @map.control_init(:large_map => true, :map_type => true) @map.center_zoom_init([0, 0], 6) and my view is this:
2006 Jan 19
1
Relationships, relationships, relationships!
If I had my very own sweaty, wind-up Ballmer (http://www.ntk.net/ballmer/mirrors.html warning: mind-scarring video), that is what he would be saying: "Relationships, relationships, relationships!!" My unscientific polling of the traffic in #rubyonrails and here is that, second to deployment issues, this is the bigges FAQ for Rails: how to do relationship x in ActiveRecord. There seems
2004 Jan 09
2
Smb signing - how can I check?
Howdy, Does anyone know how to check the samba setting of "smb signing"? There is a data write error that can happen with the signing, and I'd like to check my samba servers. See http://www.eweek.com/article2/0,4149,1415221,00.asp and http://www.tangent-systems.com/support/delayedwrite.html Alan Pence System Administrator "The smart ones ask when they don't know. And,
2006 Apr 12
4
Laszlo on Rails underway
If you have an interest in providing rich web interfaces for your applications beyond the abilities of DHTML, including audio and video, you may want to join me and 225 other developers on the Laszlo on Rails project. Our Google group is at http://groups.google.com/group/laszlo-on-rails. Be a part of something that will be featured in a talk at RailsConf -- join us!
2004 May 14
3
Psssst. The US is asleep - let's talk intern ationalization !!!
And let's also spell things properly! Like 'internationalisation' ...'Weasels have got into your phone system' instead of 'gotten into your phone system...' And 'please press the hash key..' instead of 'pound key' There should probably be en_uk, en_us, en_ca, en_za, en_nz, en_oz, en_ie and en_in etc to allow each English-speaking country to localise
2005 Dec 29
7
Laszlo on Rails kicking off
The Laszlo on Rails effort, bringing the rich web interface of OpenLaszlo (http://openlaszlo.org) to the simplicity of Rails (http://www.rubyonrails.com) will be kicking off next week. We have a list going at http://groups.google.com/group/laszlo-on-rails/ -- 88 people so far and we haven''t even begun! -- but if you really want to be close to the action, email me with your firstname,
2006 May 25
0
FW: [isp-clec] Treasury disconnects tax on long-distance calls - with refunds
FYI Brian Fertig Treasury disconnects tax on long-distance calls WASHINGTON (MarketWatch) - The brief Spanish-American War ended more than a century ago, but not the federal tax assessed to fund the victory. Until now. On Thursday, the U.S. Treasury said it would stop collecting the 3% federal excise tax on long-distance calls, a fee originally assessed in 1898. The government also said it
2006 May 25
1
Logging in production
Hi, I have an application that''s about to go live and the production logs show what was sent to the application such as usernames and passwords. I don''t want this information recorded anywhere for security reasons - how can I stop rails recording this information? Thanks in advance! Cheers, Pete -- Posted via http://www.ruby-forum.com/.
2009 Jan 20
1
Trying to run a exotic app "Saral Tax",
Hi, "Saral Tax" is the only app that needs dual booting the PC. i'm trying to run this on wine and Arch linux. Fonts availabe through wine-doors are installed. Installation of Saraltax is flawless. But only the splash screen is displayed when the app is invoked. Errors displayed when running from prompt is pasted below. [ajayar at redcolony Saral Tax]$ wine WinTax.exe