views:

676

answers:

5

Can someone point me to a solid sample app that shows how to use the new features and syntax of Rails 3?

It's been answered before for earlier versions (http://stackoverflow.com/questions/248371/whats-the-best-open-source-ruby-on-rails-project-to-learn-from), but I have not seen one for Rails 3.

Specifically the following:

  • Routing
  • Mailer
  • new query syntax
  • complex forms (how do these work with the new routing)
  • unobtrusive js (specifically jQuery)
+2  A: 

I started one at Railscamp: http://github.com/radar/rails3-blog-example. What other new features do you want to know about?

Ryan Bigg
Updated question -- thanks!
Jonathan
+2  A: 

Here's a nice Rails 3 overview from IBM (surprisingly), along with links to additional resources.

Drew Johnson
Yeah that is a good overview! Thanks.
Jonathan
+2  A: 

You might want to check Projexion. It uses Rails 3 beta 3.

jpartogi
Perfect. Thanks.
Jonathan
+1  A: 

Rails 3.0.0 was released today and Peter Cooper mentioned, "If you want to see a working Rails 3.0 application, take a look at the Rails3-Subdomain-Devise app. It's a basic Rails 3.0 app that demonstrates using the Devise authentication system, as well as custom subdomain access. Not just that, but there's a walkthrough of how the app works and how it was put together."

It doesn't demonstrate all the features you've asked about but it shows routing and gives you some basic code to get started with. Check out the forks to see some variations on the basic code.

Fortuity
Cool -- i'll check it out!
Jonathan
+1  A: 

You might want to look at ror_ecommerce. It's a starter app for an ecommerce site. Runs on Rails 3 and Ruby 1.9.2.

Maudite