Updated: 2010-09-03 00:27:50
The latest episode of coderpath was released today, with an interview with Gregg Pollack.
Updated: 2010-09-02 22:32:35
Do you know that you can use the new Rails 3 HTML 5 helpers to get unobtrusive client-side validations in an instant? Read this!
Updated: 2010-09-02 19:05:54
With RVM installed on your system, it's easy to have many versions of Ruby installed. And, especially if you switch between them often, it's easy to forget which Bash command prompt is using which Ruby version. You can solve this by putting your Ruby version in your Bash prompt....Read Full Post
Updated: 2010-09-02 14:04:17
Learn in a minute how to deploy your Rails 3 applications like in Heroku with Inploy.
Updated: 2010-09-02 03:44:37
Webpulp.tv posted it's latest video interview with Kevin Smith. The interview covers CAP theorem, Riak, and ways to scale your app.
Updated: 2010-09-02 03:09:35
Programming Challenge for Newbies in Clojure and Python too? RubyLearning has been conducting the monthly Ruby Programming Challenge for Newbies for over a year now and so far 12 challenges have been completed. The 13th challenge is in progress. All this was possible due to the extensive support we got from Rubyists across the world. [...]
Updated: 2010-09-02 01:26:02
RubyFlow Ruby Community Link Blog Home Submit Sign Up Log In leaders Deploy a Rails 3, Sqlite3 application in Tomcat using JRuby Posted by rubyoncloud on September 02, 2010 0 comments In this tutorial , I described the steps I did to deploy a simple Rails 3 application to Tomcat using JRuby In addition , I show a way to make your Rails 3 application run side-by-side with a JRuby based version . I also included the problems I encountered along the way and how to solve . them Comments Post a Comment Note : If you are a registered user , you can log in to populate these . fields Name Byline required You may use ONLY these HTML tags to format your : comment Do NOT use i J willy n c l M bum u d e e q u a l Enter the letters shown : above Top searches : conference jruby released Ruby Links from
Updated: 2010-09-01 16:52:45
I wrote a little blog post that shows the implementation of three helpful "magical" constants:
* OS: returns the current operating system
* RubyEngine: returns the current Ruby implementation
* RubyVersion: returns the current Ruby version
Updated: 2010-09-01 02:39:47
RubyFlow Ruby Community Link Blog Home Submit Sign Up Log In leaders Videos from RubyKaigi 2010 Posted by lchin on September 01, 2010 0 comments Videos from RubyKaigi 2010 the main Ruby conference in Japan , are now available on Vimeo RubyKaigi 2010 was held over three days from August 27-29, 2010 in Tsukuba , Japan . The talks at RubyKaigi 2010 had a mix up Japanese and English language speakers , including Yukihiro Matz Matsumoto , Chad Fowler , Yugui and the Ruby Core team , Yehuda Katz , and many . more Comments Post a Comment Note : If you are a registered user , you can log in to populate these . fields Name Byline required You may use ONLY these HTML tags to format your : comment Do NOT use a u Y willy t Q bum o F tits l o K bum a d i M tits d Enter the letters shown : above Top
Updated: 2010-09-01 02:30:05
I wrote an article <a href="http://rails-bestpractices.com/posts/50-put-scripts-at-the-bottom"Put scripts at the bottom, it is a small trick, but really helpful to speed up the pages render. I also give an example for adding a tweet button on your pages
Updated: 2010-09-01 01:56:14
Simple tutorial about how to enable devise to allow facebook login.
Updated: 2010-08-31 21:52:24
So, you've gotten your shiny new Mac and you want to get right into Ruby programming, where how do you install it? The first thing you should know is that it's already installed. OS X 10.6 "Snow Leopard" comes with both Ruby 1.8.7 and Ruby on Rails 2.3.5 installed. But there are a lot of reasons why you'd want to install your own with RVM, access to Ruby 1.9.2 being the most obvious....Read Full Post
Updated: 2010-08-31 09:56:31
RubyFlow Ruby Community Link Blog Home Submit Sign Up Log In leaders BDDCasts on Rails3 and Cucumber Posted by cristi on August 31, 2010 0 comments You might want to upgrade an existing Rails 2.3.x project to the newly released Rails 3. If you saw in BDDCasts's URLAgg updates series how to get the specs to pass now it's time to move on and get Cucumber features to pass . Check episodes six and seven for details on upgrading a project using Cucumber to Rails 3. Comments Post a Comment Note : If you are a registered user , you can log in to populate these . fields Name Byline required You may use ONLY these HTML tags to format your : comment Do NOT use a t e M bum x i t F willy d u p Enter the letters shown : above Top searches : conference jruby released Ruby Links from Elsewhere Example
Updated: 2010-08-31 09:06:49
Ruby Programming Challenge For Newbies RPCFN: Economics 101 (#13) By Dr. Bruce Scharlau About Dr. Bruce Scharlau In Dr. Bruce’s own words: “I’ve been using and teaching Ruby since trying out the cookbook example in the summer of 2006. As soon as I saw how much easier it all was with Ruby and Rails, I [...]
Updated: 2010-08-30 10:34:05
The headline says it all. This isn't another beta or release candidate, this is it!
There are many, many details in the release notes</a.
Updated: 2010-08-30 00:21:27
Rails 3.0 has been underway for a good two years, so it’s with immense pleasure that we can declare it’s finally here. We’ve brought the work of more than 1,600 contributors together to make everything better, faster, cleaner, and more beautiful.David Heinemeier Hansson
DHH rings the bell and announces that Rails 3.0 (final) has been released after two years of determined effort by the Rails core team (and, significantly, Merb team members, since Rails 3.0 is heavily influenced by the ). Grab it now with gem install rails --version 3.0.0 or, if you're in no rush, Rails 3.0.1 might come along within a week or two.
The Videos
DHH gives a quick roundup of some of Rails 3's new features but like Emma Watson's head PhotoShopped onto yet another naked body, it's nothing you haven't seen before. If you're really fresh to Rails 3.0, though, Gregg does an admirable job of boiling everything down into a digestible format with his (free!) Dive Into Rails 3.0 screencast series:
Getting Started and Action Dispatch
Bundler and Action Mailer
<a href="http://rubyonrails.org/screencasts/rails3/active-relation-active-model"Active Relation and Active Model
Cross-site scripting and Unobtrusive JS
The New Action Controller
Ryan Bates has also produced a fistful of his typically succinct but precise RailsCasts videos on a wide array of Rails 3.0 topics. Ryan always focuses on code and practicalities so these are a good place to start if you want to follow along and do some coding yourself:
Upgrading to Rails 3.0: Part 1, Part 2 and Part 3
Routing in Rails 3
Active Record Queries in Rails 3
Advanced Queries in Rails 3
Controllers in Rails 3
Rack in Rails 3
Subdomains in Rails 3
Active Model
Generators in Rails 3
Making Generators in Rails 3
Validations in Rails 3
ERB Blocks in Rails 3
Action Mailer in Rails 3
XSS Protection in Rails 3
Bundler
If you don't like videos, still follow the links, because there are links to the ASCIIcasts regular HTML versions of the Railscasts videos. These are regular blog posts that you can follow at your own pace.
Or some books
Michael Hartl's Rails Tutorial book is the #1 (and only, in my opinion) place to start when it comes to books about learning Rails 3.0. Not only is it available to read for free online, but you can buy a well formatted PDF too. It's an amazing piece of work and, unusually, walks you through building a Rails app from start to finish with testing. If you want to just read one book/site and feel like a Rails 3.0 master by the end of it, pick RailsTutorial.org.
If you speak German, though, check out this "Ruby on Rails 3" book by Michael Voigt and Stefan Tennigkeit. It's one of the first Rails 3.0 specific books to hit the presses.
Or just dive into some code
If you want to just "get started" and check out a working Rails 3.0 application, try Daniel Kehoe's 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 Daniel has put together a walkthrough of how the app works and how it was put together.
Updated: 2010-08-27 07:00:26
To many programmers new to Ruby and dynamic languages in general, one annoyance or point of confusion is that variables don't have type. Values have type, of course. Strings are Strings, numbers are some type of Numeric, but variables themselves don't have type. What's going on here?...Read Full Post
Updated: 2010-08-26 08:47:20
Ruby on Rails 3.0 Release Candidate 2 has been released. They're aiming for the final release within a week, it's almost here!
Updated: 2010-08-26 07:00:08
The following is a list of Rack middleware applications that come with the Rack gem. A brief description of each middleware is given.
Read the complete article
Updated: 2010-08-25 19:49:46
It's time to unveil my latest project: Ruby Weekly, a once-weekly e-mail roundup of 10-20 Ruby related links with a few sentences on each. It's had a brief alpha testing period and it's now ready to roll.
Click here to subscribe to Ruby Weekly - it's a one click process. It's also ultra simple to unsubscribe if it's not eventually to your taste.
As well as featuring links and (very) brief summaries, the weekly e-mail will also occasionally include new event, book, and job announcements and, if something significant is going on in Rubyland, a few paragraphs of editorial. The aim, though, is to keep the e-mail reasonably brief, in a plain format, and, above all, useful.</p
There's been a renaissance in e-mail newsletters in the last year or two and it seemed, to me, to be a great way to get programming related news. E-mail is not to everyone's taste (Ruby Inside will be staying as-is!) but if you want to avoid daily distraction and get a summary just once a week, it's an alternative to reloading Twitter or Google Reader every day. The popularity of the Ruby5 podcast proves there's an appetite for Ruby news in different media (and if you prefer audio, check them out).
Ruby Weekly goes out once a week on Thursdays, so if you subscribe within the next 16 hours or so, you'll get this Thursday's edition (issue #4).
Updated: 2010-08-25 07:00:09
RVM is a moving target. It's still under regular development and in order to get the most current versions of Ruby, you'll need to upgrade to the head version of RVM. This is the version checked out directly from its GitHub repository....Read Full Post
Updated: 2010-08-24 22:49:01
One of Rack's greatest features is the ability to easily plug in middleware applications. When a request makes its way through Rack to your application, it'll first pass through each of these middleware applications on the way. Middleware apps can be either simple utility apps that do things like log requests, or something more complex like Rack::Lint, which will sanity-check your responses and throw an error if something is wrong....Read Full Post
Updated: 2010-08-23 23:46:06
home_run is a gem that implements Ruby's date and time classes in C. It gives huge performance improvements on parsing dates and times. The benchmarks in the README are quite impressive, showing and instant and effortless (on your part) speed increase....Read Full Post
Updated: 2010-08-23 07:00:19
If you already have a Ruby like 1.9.2-rc2 installed with a number of gems and want to upgrade to 1.9.2-p0, the following steps will get you there. As expected, RVM makes this quite easy....Read Full Post
Updated: 2010-08-18 16:27:54
Yuki (Yugui) Sonoda has just announced the release of the stable version of Ruby 1.9.2!
Ruby 1.9.2 has been released. This is the newest release of Ruby 1.9 series. Ruby 1.9.2 is mostly compatible with 1.9.1, except the following changes:
Many new methods
New socket API (IPv6 support)
New encodings
Random class that supports various random number generators
Time is reimplemented. There is no longer the year 2038 problem.
some regexp enhancements
$: no longer includes the current directory.
dl is reimplemented on top of libffi.
new psych library that wraps libyaml. You can use the library instead of syck.
Yuki Sonoda
Ruby 1.9.2 passes 99% of RubySpec and, if you haven't already given it a go, offers worthwhile performance increases over Ruby 1.9.1 and significant performance improvements over the 1.8.x series.
Intriguingly, Ruby 1.9.2 is only considered to have full, verified support on Debian Linux on 32 bit Intel architectures, with support for OS X 10.5 and 10.6, FreeBSD, Windows, and Solaris considered "best effort." Linux distributions other than Debian are listed in the lower "perhaps" category for support, so running your own tests is more essential than ever before moving to 1.9.2 in production.
Installing
As always, the source can be picked up from the official sources at ruby-lang.org:
http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz
http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2
http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.zip
Or, you can use RVM, which has already been updated to support the release:
rvm update --head && rvm reload && rvm install 1.9.2 && rvm 1.9.2 --default
Updated: 2010-08-11 09:50:52
Ruby Programming and Education: A Match Made in Heaven Ruby programming has received much attention in the past decade or so, especially with the advent of Ruby on Rails in 2005. While the blogosphere is abuzz with the latest on Ruby, let’s ask ourselves how, exactly, Ruby programming is conducive to an educational environment. Of [...]
Updated: 2010-08-09 06:59:47
Do YOU want us to continue with the Ruby Challenge for Newbies? RubyLearning has been conducting the monthly Ruby Programming Challenge for Newbies for over a year now and so far 11 challenges have been completed. The 12th Challenge is in progress. All this was possible due to the extensive support we got from Rubyists [...]