similar to: Advice on handling money

Displaying 20 results from an estimated 9000 matches similar to: "Advice on handling money"

2006 Jun 12
6
Storing "money" in databases
Hiall, I''m wondering what''s common practice when dealing with money values stored in databases. I like the idea of storing all the values as integers, i.e. all the values in eurocents not euros. Then I need to multiply all values the users enter by 100 before storing them in the database. Now the question is, what''s the most efficient and dryest way to do this?
2006 Jun 20
22
New e-book - The Money Train
While talking about my RailsConf presentation with Ben Wiseley, he suggested writing a book on the same topic... so I did! The Money Train is an e-book about building e-commerce sites using Ruby on Rails. Read my blog entry about it at http://www.bencurtis.com/archives/ 2006/06/rails-e-commerce-e-book/ or head to http:// www.agilewebdevelopment.com/book to dive right in. As always, a big
2006 Jul 28
15
Store/product stock design question
Hi all, I''m having trouble figuring out how to handle stock levels in a new store I''m building. When products are entered into the admin of the store, they have a stock number associated with them. What I''m not sure about, is how I go about maintaining this stock level. Take this scenario: 1. User A adds an item to their cart, and I check that it''s in stock -
2006 Jun 12
3
standard way of downloading & using rails standard plugins
Hi, I am a newbie to ruby & rails. Can anybody give me some inputs as to how to download & use standard rails plugins. Any help regarding this will be greatly appreciated. -- If not you then who..... If not now then when...... ----------------------------------------------------- With Best Regards, Medha. -------------- next part -------------- An HTML attachment was scrubbed...
2006 Jun 10
5
[REL] Manage Fixtures 2.0.0
Just released a new version of the _Managed Fixtures_ plugin, previously known as _Export Fixtures_. The name change comes with some added functionality for managing the fixtures, primarily with two new import tasks for importing specific Models or all of them within the test/fixtures directory. Both new import tasks take the exported fixtures, and allow you to directly import one, or all of
2006 Jun 22
4
Shop plugin?
I hope I''m not completely off-base here but is there a shop plugin for ruby/rails that means I don''t have to write the code for a shop from scratch? Can''t seem to find one... Thanks! Bex -- Posted via http://www.ruby-forum.com/.
2006 Jul 11
4
validates_unlike plugin
Validates Unlike Plugin (v 0.1) ======================== Validates Unlike plugin validates that the value of the specified attribute doesn''t match against the regular expression provided Class Contact < ActiveRecord::Base validates_unlike :comment, :with =>/html|http|onclick|onmouseover/ , :message => "comment can''t include: href,http,onclick,onmouseover."
2006 Jul 07
3
Credit Card validation using rails? can i do it on rails?
help me with this one, i need any tutorials regarding this credit card validator -- Posted via http://www.ruby-forum.com/.
2006 Jul 28
5
Best practice for sharing code between rails apps.
Is there a writeup about how to structrure your rails applications so that you can share models, gems, libraries, helpers, and controllers between them. It would be especially helpful if the discussion involved how to structure your codebase in version control and how to manage deployement.
2006 Jul 10
3
search plugin?
All, I know there are 3 or 4 search plugins out there. I''m trying to find one that will allow me to search associated fields. My database content is pretty small, so efficiently is not so critical. On the other hand I have ton of :belongs_to type fields, so I need something that works well with the Rails models. Any recommendations? == Example of what I need to work Assume I have a
2006 Jun 13
4
script/plugin discover breaks?
Hi everyone, I was trying to discover some new plugins, but the script breaks at a certain point: $ ./script/plugin discover Add http://delynnberry.com/svn/code/rails/plugins/? [Y/n] Add http://svn.recentrambles.com/plugins/? [Y/n] Add http://svn.hasmanythrough.com/public/plugins/? [Y/n] Add http://www.svn.recentrambles.com/plugins/? [Y/n] Add http://sean.treadway.info/svn/plugins/? [Y/n] Add
2006 May 18
5
acts_as_classifiable plugin
Hello, I am pleased to announce the availability of the plugin acts_as_classifier which allows using the ''classifier'' gem in a Rails application. This plugin can be downloaded from http://opensvn.csie.org/sksinghi/acts_as_classifiable/ This plugin is useful in scenarios where you want to distinguish between spam or non-spam comments, Or maybe you want to track the
2006 Jun 21
14
[Bounty] 1 pizza for 1 simple plugin
So here''s the deal. I don''t know the innards of rails well enough to do this quickly but you might. First person to write this and release it under MIT license or public domain, and tells me, gets a free pizza from your favorite local delivery place. You pick the toppings, I''ll call ''em and order it up for you. Yeah a pizza isn''t much but I''m
2006 Jul 11
2
acts_as_versionable and prospective versions
Anyone out there really familiar with acts_as_versionable ? I''ve recently got it working, and I think it''s working great. But what I want to do is a little different than what it does by default. Currently, each time I save the activerecord, the plugin increments the version number in the main table, and writes a copy to the table that stores old versions. What
2006 Jun 21
3
[PLUG] new plugin, acts_as_modified
Nothing special, just my first plugin. it came out of a request I saw on the list from someone who wanted to be able to tell if a model''s attributes had changed prior to being saved. Well, this plugin does just that (at least I hope it does). http://rubyforge.org/projects/actsasmodified/ Please see the README for details. Constructive comments and criticisms are appreciated. Chris
2006 Jul 04
3
act_as_state_machine plugin inaccessible
Seems like act_as_state_machine plugin is not accessible from http://lunchroom.lunchboxsoftware.com/articles/2006/01/21/acts-as-state-machine as this site is down and script/plugin discover is broken as it fails when trying to add plugin repositories giving the message as below; Add http://svn.northpub.com/plugins/? [Y/n] y (eval):3:in `each'': undefined method `[]'' for
2006 May 10
1
Rails Plugin Directory - Comments
The directory of Rails plugins at http://www.agilewebdevelopment.com/ plugins/ now has support for adding comments to plugins, so stop by and leave a kind word about your favorite plugin. :) A feed for plugin comments is available at http:// feeds.feedburner.com/RubyOnRailsPluginComments, while the plugin feed itself is available at http://feeds.feedburner.com/RubyOnRailsPlugins. --
2006 Jul 27
9
Introspecting validates_presence_of
Hello people, I''d like to detect whether an attribute of a model has vaildates_presence_of applied to it so I can automatically apply a mandatory (*) to the field...it doesn''t look easy...any ideas? Cheers, -- Dan Webb http://www.danwebb.net
2006 Aug 17
2
One common template for different actions ?? possible or not?
Hi all, Hey I want to know that, is it possible to have commont templates for different methods(actions) in the controller? Please reply! -- Regards, Anil Wadghule http://anilw.info Don''t live to geek; geek to live. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060817/54bee41d/attachment.html
2006 Jul 22
1
InPlaceEditor with Autocompletion
Hi Rails AJAX controls are very handy, and the InPlaceEditor is probably one of the easiest and most neat of them all. But, it doesn''t do autocompletion. I''ve rectified that situation. The plugin provides a few new helpers and a new JavaScript-file that extends the Ajax.InPlaceEditor with local and remote Autocompletion features. So, just install the plugin, include the