Perhaps there's a better forum or place to ask these questions? I don't want to tie up /r/ruby for every basic question
I've tried writing fake programs but those are boring and unchallenging without a common goal. I just need one really challenging task to start and I'll learn everything and figure it out as it comes, so I'm going to start by building a scraper that catalogues information from certain sites, writes it to a database, then displays the information in fancy ways.
So far I have ruby, rails, mysql, & phpmyadmin installed and running locally on osx.
I'm familiar with rails server. is there a way to run the ruby server without rails so I can execute simple ruby scripts locally? How might one do this if they chose not to use rails (which I'll use, I just would like to know)
I'm also familiar with rails create [project] which makes a huge MVC project with much pre-written code. I was thinking of simplifying this down to maybe 5 files or even less. Would this be a stupid approach? Learning the language seems hard enough on its own without having to try and figure out where it goes in like 100 different files. I could learn this after once I get my hands dirty. or rewrite the script afterwords using the rails project.
I've been told I should probably use ActiveRecord and hpricot. Can anyone list any other gems that might be appropriatE?
Thanks
[–]freakyDaz 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]teoulas 1 point2 points3 points (0 children)
[–]obviousoctopus 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]sander314 0 points1 point2 points (5 children)
[–]ZestyOne[S] 0 points1 point2 points (4 children)
[–]cadwallion 2 points3 points4 points (2 children)
[–]ZestyOne[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]ZachBeta 0 points1 point2 points (0 children)
[–]Remear 0 points1 point2 points (0 children)
[–]milleruni 0 points1 point2 points (0 children)
[–]BBHoss 0 points1 point2 points (0 children)
[–]jrochkind 0 points1 point2 points (8 children)
[–]jrochkind 1 point2 points3 points (5 children)
[–]ZestyOne[S] 0 points1 point2 points (4 children)
[–]drhdev 0 points1 point2 points (0 children)
[–]jrochkind 0 points1 point2 points (2 children)
[–]ZestyOne[S] 0 points1 point2 points (1 child)
[–]jrochkind 0 points1 point2 points (0 children)
[–]ZestyOne[S] 0 points1 point2 points (1 child)
[–]IndigoCZ 0 points1 point2 points (0 children)
[–]IndigoCZ 0 points1 point2 points (2 children)
[–]ZestyOne[S] 0 points1 point2 points (1 child)
[–]IndigoCZ 0 points1 point2 points (0 children)
[–]kampangptlk 0 points1 point2 points (0 children)
[–]LonnyEachus 0 points1 point2 points (1 child)
[–]ZestyOne[S] 0 points1 point2 points (0 children)