Rails 3.0 Examples
Tue Jan 19 13:38:00 -0800 2010
Rails 3.0 has a lot of new features. Getting to understand them can be a challenge. I made a Rails 3.0 repository on github to help everyone get to know some of the new ActiveModel API…
It is at git://github.com/mikel/rails-examples/ and has instructions on how to download it and get it running.
It is actually an entire Rails 3.0 App, ready to run. So you just need to clone it, follow the four steps given in the README and you will have Rails 3.0 running on your system.
The models directory contains a bunch of “_person” models that show off each main module of the ActiveModel API piece by piece. The implementations are minimal on purpose to show you what you need to get the thing working… The instant gratification thing :)
Please check it out and let me know what you think, or improvements we can make.
One note, you should update the bundler gem if you are on a bundler version 0.7 or below.
blogLater
Mikel
Leave a Reply
Latest posts
- Encrypting Another Partition Using FileVault 2 on OSX Lion
- Installing Home Folder on Second Drive on OSX Lion
- undefined local variable or method `version_requirements'
- A New World of Resources
- Rails Static Pages
- Twitter Replacing Rails? So?
- Engine Yard Cloud Backups Generating Zero Length Backups
- Our Rails Rumble Entry - StillAlive.com
- Renaming a controller and redirection in Rails 3
- Updating RailsPlugins.org to Rails 3 - Part 1
- A new protocol for social interaction
- What is a distributed social network?
- Bundler and Public Git Sources
- Getting Heroku, memcached and Rails 3 working
- Why Bundler?
- Rails Commit Access
- Introducing TellThemWhen
- rake RSpec & Cucumber uninitialized constant Rails::Boot::Bundler
- This Relationship is Worth Nothing
- Thank YOU...
- Inline Attachments for ActionMailer
- Upgrading RailsPlugins.org to Rails 3 - Part 1
- Stripping dollar signs and commas from a string
- Getting Rails 3 Edge with jQuery, RSpec and Cucumber using RVM
- Action Mailer, go Proc thyself
- The Real News Donation Drive
- ActionMailer ScreenCast and Article
- Installing RSpec for Rails 3
- I am speaking at RailsConf 2010
- Rails 3 Session Secret and Session Store
- If you're lazy and you know it write your specs!
- Bundler - uninitialized constant ActionController
- Bundle Me Some Sanity
- How to use Mail / ActionMailer 3 with GMail SMTP
- Put your mailer where the action is!
- Why Force a Choice?
- How to make an RSS feed in Rails
- Rails 3 Routing with Rack
- Bundle me some Rails
- Helping out in Haiti
- Watch your self
- Is Rails 3.0 a Game Changer?
- Where did the scripts go?
- validates :rails_3, :awesome => true
- New Rails Version 3.0 Guides Online
- New ActionMailer API in Rails 3.0
- Mail gem version 2 released
- How to rename a Rails 3 Application
- DECCA Driving Day
Latest comments
- buy camel cigarettes
Wonderful blog! I definitely lo...
- how to become a pilot
About this topic, I have been l...
- how to become a pilot
About this topic, I have been l...
- best cigarettes
This was a fantastic post. Real...
- best cigarettes
This was a fantastic post. Real...
Categories
Tag Cloud
AJAX ARGH! ActiveRecord Ajax Apache Apple Asterisk Australia Copy Database Development Feedburner Gem server Google Human Rights Javascript L. Ron Hubbard MS SQL Server MacOSX Mail Mephisto Not Programming OpenBSD Opensource Performance Personal Integrity PostgreSQL Programming Prototype Puzzle RDoc REST RESTful Rails RSPec RSpec Rails Rails Tips Rspec Ruby Ruby on Rails Ruby on Rails Tips Ruby on rails Tips SQL SQLServer SVN Scientologist Scientology Site Stats Soekris Soekris net5501 TMail Textmate Tips Windows World about mikel anti drug apache contributing daemon documentation drugs illustrator javascript lambda mail mephisto newspapers nitro open source opensource photoshop productivity programming railscasts rspec ruby ruby on rails rubyforge scientology seo sitemap sqlserver tips tmail tom cruise unix tricks vector graphicsArchives
- November 2009 (1)
- October 2009 (2)
- September 2009 (2)
- August 2009 (0)
- July 2009 (1)
- June 2009 (0)
- May 2009 (1)
- April 2009 (0)
- March 2009 (0)
- February 2009 (0)
- January 2009 (2)
- December 2008 (0)
- November 2008 (5)
- October 2008 (0)
- September 2008 (1)
- August 2008 (0)
- July 2008 (2)
- June 2008 (13)
- May 2008 (7)
- April 2008 (18)
- March 2008 (8)
- February 2008 (5)
- January 2008 (7)
- December 2007 (20)
- November 2007 (22)




Tue Nov 08 03:27:18 -0800 2011
The contained models and the examples are great. Thanks for providing them as link, so that I could use it. I see that the implications are minimal. Would there be any problem with Port 25 if rails is on. Its showing some errors.
Tue Nov 08 19:58:10 -0800 2011
This is my first time to visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work.
Thu Sep 16 05:49:52 -0700 2010
Thanks very much,Mikel!
Mon Oct 03 05:25:03 -0700 2011
As most of Rails developers, recently I’ve been through a process of unlearning all concepts of older versions of Rails and learning again the new ones of 3. But hey! I must admit that so far it’s been more pleasure than pain as things only get simpler and more natural than they used to be!
Sun Oct 16 18:59:55 -0700 2011
This is my first time to visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work.
Sun Oct 16 19:00:04 -0700 2011
This is my first time to visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work.
Sun Oct 16 19:00:29 -0700 2011
This is my first time to visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work.
Thu Dec 15 00:30:16 -0800 2011
This is a spectacular article that I have really enjoyed. Hopefully I can learn more from your valuable experience. Thanks a lot for sharing this and please keep on posting more.
Thu Dec 22 18:39:30 -0800 2011
The contained models and the examples are great. Thanks for providing them as link, so that I could use it. I see that the implications are minimal. Would there be any problem with Port 25 if rails is on. Its showing some errors.oucjucdmp sg adpuxdipv hg elvteoqbe
Sun Dec 25 04:08:41 -0800 2011
Rails 3.0 is a brilliant program. I have tested it and the model examples are great. I had 0 problems with the application and Port 25 hasn’t made any problems so far, Matt. I really hope you can fix your problem but a reinstall should fix it in my opinion. Is it true that RAIL 3.0 uses AppLogic cloud services? I am really interested in this thing.
Tue Jan 03 09:06:04 -0800 2012
It’s a pleasure to join this conversation. Your article was ultra healthy. Thanks, vacation in Spain
Sat Jan 07 03:57:49 -0800 2012
Thanks for the examples, they were very helpful.
Keep up the good work
Sat Jan 28 14:38:10 -0800 2012
Great one, thanks!
Tue Jan 31 04:16:22 -0800 2012
The best person to give you medical advice about liver disease is your doctor. Best thing we can do is recommend perhaps a good doctor if you need a second or third opinion. casino