News for hackers. Stuff that matters.
Re:Ask HN:WHich testing framework should I use as a Rails be... by wallawe on Tuesday August 14, 2012 @12:31AM (#4379411)
None of it is going to come easy. Especially if you have no programming background. I am in the same position as you right now. I know HTML and CSS but the real programming has come a little bit slower. My two cents: skip TDD off the bat. Concentrate on building small apps and following tutorials to do so. Have you checked out rails for zombies? I was actually wondering some similar things about TDD myself and asked this question earlier today:

http://news.ycombinator.com/item?id=4376527

Just keep in mind, learning Rails isn't going to be something you can do in just a couple or even a few months. To become good at it you'll have to practice day in and day out for years. But the good thing about it is, you will be able to deploy simple apps with minimal knowledge very soon which is fun!

My favorite tutorial thus far has been Michael Hartl's at http://ruby.railstutorial.org/ruby-on-rails-tutorial-book

It's long but it's very informative and walks you through rspec if you do decide to use that. Best of luck!

Re:Ask HN:WHich testing framework should I use as a Rails be... by subrat_rout on Tuesday August 14, 2012 @12:59AM (#4379487)
I absolutely agree with you on Michael Hartl's tutorial. Now I am going through Rails for Zombies. I am searching for some open source rails apps which will give me a simple framework to start with.
Re:Ask HN:WHich testing framework should I use as a Rails be... by wallawe on Tuesday August 14, 2012 @09:57AM (#4380910)
When you say sample framework, I assume you want a minimal sample application to start from? What kind, specifically were you looking for? There are blog apps, to-do list apps, micro-blogs, etc that are all pretty simply...
Re:Ask HN:WHich testing framework should I use as a Rails be... by subrat_rout on Tuesday August 14, 2012 @12:26PM (#4381715)
I am looking for an app where the app will have users where users can be searched according to zip code or state. Users can create their profile with their expertise and people can rate their services etc.
Re:Ask HN:WHich testing framework should I use as a Rails be... by timo614 on Tuesday August 14, 2012 @07:30PM (#4383607)
You should take a look at Railscasts.

Given what you're looking to do: Geocoding gem: http://railscasts.com/episodes/273-geocoder Devise gem: http://railscasts.com/episodes/209-devise-revised

The former uses the google maps api to handle geocoding but you could use it as well to figure out the distance between two points. You could also use the great circle formula yourself if you know the lat and long of both points (http://en.wikipedia.org/wiki/Great-circle_distance).

The latter is one of his pro episodes but if you don't mind watching semi-dated material and picking up the rest from docs you could watch the original episode.

I find the railscasts to be extremely helpful when it comes to understanding both what's available to the rails community (lots of gem coverage) and unique ways to deal with common problems.

Re:Ask HN:WHich testing framework should I use as a Rails be... by subrat_rout on Tuesday August 14, 2012 @09:23PM (#4383949)
Thanks timo614. This is a very helpful piece of information. Will be subscribing to railscast soon.
Re:Ask HN:WHich testing framework should I use as a Rails be... by _pius on Monday August 13, 2012 @09:33PM (#4378970)
My advice would be to use the included test frameworks if RSpec isn't a fit. Anything besides those two options will be likely to be less documented (or more rough) than appropriate for a beginner.
Re:Ask HN:WHich testing framework should I use as a Rails be... by subrat_rout on Tuesday August 14, 2012 @01:02AM (#4379491)
Great suggestion. Thanks
Re:Ask HN:WHich testing framework should I use as a Rails be... by geoffroy on Wednesday August 15, 2012 @11:32AM (#4386421)
I learnt RSpec and Cucumber with the RSpec book, it's great
Re:Ask HN:WHich testing framework should I use as a Rails be... by geoffroy on Wednesday August 15, 2012 @11:33AM (#4386428)