e commece website

I just started on ruby on rails and i was asked by my supervisor to create a ecommerce website using ruby on rails. I have planned how the website is to be like. It will be like an ebay process but with no bidding and no paypal, just straight calling the seller for there product but its only for a certain organisation so a login page is needed before you log on to the website. Each seller has there own account. Can you you give me a step by step guide on how to do a page that has the option to sign in/ log in?

lox323 wrote:

I just started on ruby on rails and i was asked by my supervisor to create a ecommerce website using ruby on rails. I have planned how the website is to be like. It will be like an ebay process but with no bidding and no paypal, just straight calling the seller for there product but its only for a certain organisation so a login page is needed before you log on to the website. Each seller has there own account. Can you you give me a step by step guide on how to do a page that has the option to sign in/ log in?

That sounds like the sample website from /Agile Web Development with Rails/, 3rd edition.

Don't do Rails without it!

Hi lox323,

the rails development book is one way. The other way is to collect the “mechanism” you need from several tutorials etc.

  1. Authentication and Access:

    • use the restful_authentication plugin

    • how to do this you can see at learn from the first 2) The ebay Api for ruby

    • gem: ebay and ebayapi (look up the docs)

    • look at

    • search through Google (keywords: ebay api ruby rails). You will certainly find some examples

  2. Other stuff

    • look at (it’s free)
    • look at scribd.com (you might find also some nice tutorials there). Btw, the page is done with rails :wink: Good luck and have fun! Chris p.s. there are loots of other book (besided “the” rails book) which also deal with rails and e-commerce. Have a look at apress.com. But the this with all the books including the rails book is, that they all use Rails < 2.0 It’s not that easy to migrate all the examples to the 2.2.2 version etc. But you could also use Rails < 2.0 for you project. But you will lack the features.