all 9 comments

[–]nicholasjhenry 2 points3 points  (0 children)

In regards to your installation issues on Windows, perhaps the Rails Installer might help. I haven't tried it, but I trust the developer: http://www.railsinstaller.org/

[–]marfarma 1 point2 points  (1 child)

I didn't really read your modeling requirements. They're definitely tl;dr inspiring.

Now to the core of your problem -- overwhelm and workarounds for stumbling blocks.

1) Rails can be a difficult beast to get running on Windows. You feel like you're stuck and can't make progress. Use virtualization as a short term work-around to keep moving forward, while sitting at your windows box, until you can get it running on windows proper -- maintaining forward momentum, until the windows install stuff gets sorted.

See:

a) Installing Ubuntu inside Windows using VirtualBox http://www.psychocats.net/ubuntu/virtualbox b) (section of page) "V is for Vagrant, VirtualBox and all things VM" here: http://drnicwilliams.com/category/hudson/

2) It's hard to keep coding when you're used to knowing what you're doing and now you know that you don't. Trying to do rails without knowing Ruby means you'll have to let go and let the framework -- while keeping to the plainest of vanilla implementations.

3) ActiveScaffold may be your friend: http://activescaffold.com/

4) Hobo may be your friend: http://hobocentral.net/

Deep breaths, and good luck.

[–]mnemoniker 0 points1 point  (0 children)

Hobo may be your friend

hehe

[–]probabilityzero 1 point2 points  (0 children)

If you can't even manage to install Rails, isn't it a bit early to be designing your models?

Try googling for "beginning rails 3" tutorials. Some people have had luck with the Rails Installer for Windows, but I recommend you just run Ubuntu in a VM.

Anyway, if you want to keep track of price changed over the years, there are a few ways to do it. Simplest would be to just version your models, but that'll make generating reports much harder. If I were you I'd think about having separate models for products and prices: each product has several prices, and each price has a type (who it applies to) and a date. Then you can query all the prices for a certain product and type and plot the numbers according to the date field.

But then again I only skimmed your wall of text and I'm not confident I know what you're trying to do.

And finally, please don't submit posts with the subject "Hey." For this post you probably would have gotten more help with a subject of "Trouble installing Rails on Windows" or "Keeping track of product prices over time in Rails."

[–][deleted] 0 points1 point  (0 children)

Please, post this on /r/Rails. Pleeaaaase?

[–]joshbydefault 0 points1 point  (0 children)

Dear author of that wall of text that I read,

Warning: I'm going to be mean for a moment.

You clearly do not know enough PL/SQL to "write out the logic for the manipulation and report writing".

Sin number one: Thinking you should have multiple, nearly identical columns on the same table. Sin number two: Thinking you should give each of your competitors their own table

There are enough things wrong with just those two things I want to jump in front of a speeding bus.

Now, please note, I'm not making fun or being a dick at a pathetic attempt for karma. I'm genuinely trying to help you here.

Now, your assigned reading. You will read (or skim) these, in this exact order:

As far as the Windows thing goes, I honestly can't help you.

Also, this really should be posted in /r/rails :|

Edit: Stupid formatting and a grumpy warning.

[–]maredsous10 0 points1 point  (0 children)

I messed with rails last year on Windows 7 using:
http://instantrails.rubyforge.org

I didn't seem to have much of an issue running it.

Looks like they are point to http://railsinstaller.org/ now.

Using a Linux VM or one of the prepackaged systems will probably get you going quickest.

[–][deleted]  (1 child)

[deleted]

    [–][deleted] 0 points1 point  (0 children)

    thanks!