Go Back   CodingForums.com > :: Server side development > Ruby & Ruby On Rails

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-17-2012, 12:19 AM   PM User | #1
mfm
New to the CF scene

 
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
mfm is an unknown quantity at this point
how long does it take?

I was given a Ruby on Rails project as a part of an interviewing process for a job.

The application already has basic user authentication and the
registration/login page, but nothing else. But it requires testing for
the authentication as well.

How long does it take to implement the following application?
-------------------------------------------------------------------
Implement an online_store with 2 types of users:

1. Customer: logs in and sees a page with products, each includes name
and price. They select any number of those products and add them to the
shopping cart. They go to their shopping cart and are able to check out
unless there is 0 items in the cart. No credit card processing required,
but the order should be saved. After that, they go back to the product
page, now it contains a link to their order status. After they click on
this link, they see a summary of their orders.

2. Admin: logs in and sees a link to the store statistics. After they
click on this link, they see a table of all the products sold, including
total counts and total money. They are able to sort the statistics chart
by any of the columns.

It should include testing (not specified but I do Cucumber/rspec/unit
testing), validation (if specified?), efficient queries and usable
interface.
--------------------------------------------
I have my own estimate and how long they give to me, but would be
curious what other people think of it.

Last edited by mfm; 03-17-2012 at 07:06 AM..
mfm is offline   Reply With Quote
Old 03-17-2012, 06:08 AM   PM User | #2
mfm
New to the CF scene

 
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
mfm is an unknown quantity at this point
No developers here?

If anybody thinks I'm trying to get a free quote, it's REALLY a coding assignment and I'm trying to understand if those guys are insane . My own estimate, it would take about a weekend. They give me 3 hours, by clock, or 20 minutes per a feature (working). I was supposed to do it today, but canceled. Forgot to mention, the position description doesn't require experience in RoR and TDD, and the assignment comes with instructions "starting with RoR". Any beginner here can tell me how long it would take them to implement it?

Last edited by mfm; 03-17-2012 at 07:03 AM..
mfm is offline   Reply With Quote
Old 03-17-2012, 06:54 PM   PM User | #3
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,752
Thanks: 4
Thanked 2,468 Times in 2,437 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Afraid you won't find a lot of ruby developers here.
I learned ruby when I thought that it would become popular. I haven't touched it in about 6 years now, and wouldn't know where to start with it again either.
Personally I've been lobbying to have the ruby forum buried for awhile now; given its pulled about 300 posts in over 6 years is an indication of the future of ruby.

All I can tell you is if you are using RoR, that won't take long to do at all.
Fou-Lu is offline   Reply With Quote
Old 03-17-2012, 07:10 PM   PM User | #4
mfm
New to the CF scene

 
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
mfm is an unknown quantity at this point
Quote:
Originally Posted by Fou-Lu View Post

All I can tell you is if you are using RoR, that won't take long to do at all.
Yes, it takes a few minutes to download an e-commerce gem.

The point is, this is from scratch, and also using TDD, single table inheritance, build web page etc.

I used an online tool to count words just in tests for 1 feature for a similar project of mine (practically the same feature), and used 50 words as an average typing speed. It takes 10 minutes typing tests for 1 feature, I would put another 5 minutes typing in view/controller, 15 minutes just pure typing for a feature. I would put another 5 minutes finding/opening/closing files and running the tests. Given, they give 20 minutes per feature, all this time is spent only for file manipulation.

Last edited by mfm; 03-17-2012 at 07:56 PM..
mfm is offline   Reply With Quote
Old 03-29-2012, 11:15 AM   PM User | #5
novafist
New to the CF scene

 
Join Date: Mar 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
novafist is an unknown quantity at this point
Rails is pretty simple.

I'm guessing the company who interviewed you told you to write cucumber features, specs/unit tests for all the production code you write.

An experienced rails programmer will able to implement a new feature roughly every 5-10 minutes, with full test coverage.
novafist is offline   Reply With Quote
Old 12-04-2012, 05:44 PM   PM User | #6
thebigkick
New Coder

 
Join Date: Nov 2011
Location: Austin, Texas, USA
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
thebigkick is an unknown quantity at this point
Quote:
Originally Posted by Fou-Lu View Post
Afraid you won't find a lot of ruby developers here.
I learned ruby when I thought that it would become popular. I haven't touched it in about 6 years now, and wouldn't know where to start with it again either.
Personally I've been lobbying to have the ruby forum buried for awhile now; given its pulled about 300 posts in over 6 years is an indication of the future of ruby.

All I can tell you is if you are using RoR, that won't take long to do at all.
This is really discouraging to me as I've been investing a lot of time over the last few weeks learning Ruby/RoR. Can you suggest an active community for Ruby/RoR?
thebigkick is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:59 AM.


Advertisement
Log in to turn off these ads.