Cool Code
Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Rick DeNatale on Dec 27, 2007
script/plugin install scaffoldingOther such "missing" features in Rails 2.0 include AJAX in-place-editing and auto-completion, and some of the popular acts_as_x model extensions. Someone following an aging tutorial might try running the command:
script/plugin listto see if one of the available plugins looks like it might provide a missing feature.
gem install rails --version 1.2.6Then, either remove any rails 2.0.x gems you have installed, or specify the version on the rails command when you generate your project:
rails _1.2.6_ my_rails_projectMost commands installed by gems are wrappers which invoke the code in the gem, and allow you to specify the version of the gem used by calling them with a version number surrounded by underscores as the first argument.
Complimentary Gartner (Hype Cycle for Cloud Security) Report
agility@scale eKit: 10 Principles, Scaling Model, Metrics, Collaboration
I haven't read it myself, but all the reviews seem to claim Obie Fernandez's book as a throughout one aimed towards beginners. On the other hand, it has been confirmed several times through the 2.0 release cycle since the beta series that the AWDR book will NOT get an update for Rails 2.0.x. I might be wrong in both cases so someone please correct me, as I'd also like to know these for sure!
You mention the book "Active Web Development with Rails" - the title of this book in incorrect. The correct title is "Agile Web Development with Rails".
Just wanted to point out some inaccuracies in the article. The new default database of SQLite3 was actually introduced in 2.0.2 (2.0.3 is not out yet). It may have been a bad move publicity-wise but you can simply do 'rails -d mysql myapp' to generate a Rails app pre-configured for MySQL as detailed in weblog.rubyonrails.org/2007/12/17/rails-2-0-2-s....
Also, dynamic scaffolding is completely deprecated/removed - even installing the plugin you mention will still cause failures in using dynamic scaffolds. Mind you, normal scaffolding still works, just not _dynamic_ scaffolding.
OpenRoRBook is a free German language book that covers Rails 2.0 development. It's availabe on www.rubyonrails.de/newsitems/98. We hope to find someone who have time and fun to translate the book into English in the future.
I think these can help as well:
The Akita on Rails screencasts are great. Rails newbies might also check out Geoff Grossenbach's intro screencasts at Peepcode. They come with notes that point out the spots where Rails 2.0 differs from 1.2. Very handy for those just starting out.
The Obie Fernandez book is awesome, but he's careful to say in the preface that it's not really intended for beginners. Most of the reviews I've seen say the same.
Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.
Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.
Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).
Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.
Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.
7 comments
Watch Thread Reply