NM.
NM.

Reputation: 1929

Good code sample in rails

I have been developing in rails for the past 1.5 years .. however , I feel my code is not upto the mark , and I still dont fully utilize all that Ruby and Rails have to offer .
I have gone through all the material that is available on the guide site , and have incorporated that in my code . However , every time I see someone else's code , I find out new things about the language like idiomatic syntax etc .
I was wondering if there are some really good code samples of rails that people can refer which would help me speed up my progress in rails . It can be anything , like some open source plugin or a app that has really high code standards .

Upvotes: 3

Views: 363

Answers (3)

Andy Waite
Andy Waite

Reputation: 11076

Have a look at Mephisto, a blogging platform written in Rails: http://mephistoblog.com/

Upvotes: 0

TK.
TK.

Reputation: 28153

My favorite and commonly used gem/ Rails plugin is will_paginate. Pagination is pretty common in any web applications.

will_paginate is hosted on GitHub. It works as a standard gem.

If you want to learn about Rails plugin development including how to read the code, you might want to read Plugin Patterns in Rails 2.

Upvotes: 0

Simone Carletti
Simone Carletti

Reputation: 176362

You can start from GitHub. There are tons of Rails plugins and apps available. Here's just a few examples:

Plugin authors

Upvotes: 3

Related Questions