The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
JavaScript for Rubyists
Slides and handout from my ConferenciaRails JavaScript introduction for Rubyists.
LRE - Easy Interactive Environment
I just launched LRE, an easy interactive environment. Key features: * Specify files to load and code to run whenever LRE is started in a particular directory. * Automatically load changed files into the running IRB session. * Setup different actions to take when different files are changed and loaded.
.rvmrc and Terminal in OSX Lion
In OSX Lion, Terminal now defaults new tabs to open in the same working directory you were just in. That’s nice, but your .rvmrc file will not get executed. That’s because RVM only executes it when you cd
into that directory, and opening a new session in that directory doesn’t count. Here’s a fix. Add this to your ~/.bash_profile or whatever you use: cd .
Whenever you open a new terminal session, this will automatically cd
into the current directory, triggering RVM to execute the .rvmrc. This seems like a quick and dirty trick, so if anybody knows a better way, please comment.
Rack-webconsole: a Ruby/Rails console inside your browser
We just launched a new Rack middleware that injects a Ruby console in your browser. You can read more about in this article :)
Why don’t you use and review these useful Ruby Gems?
If you have written a useful Ruby Gem, you can showcase the same on RubyLearning. A new blog post “Why don’t you use and review these useful Ruby Gems?” showcasing some Ruby Gems from developers like you and me.
Code Koans - The TDD way to learn a new language
A pecha-kucha style presentation on code koans, which leverage the Test-Driven Development style to help you master new programming languages. Ruby, Clojure, Scala, and Javascript are all covered, and getting started is amazingly easy.
Slim, the template language, v1.0 released!
Very happy to announce the 1.0 release of Slim. Details on this release can be found in the changelog. [more inside]
Expanding on the Law of Demeter
Recently Avdi Grimm posted a great run down of common Law of Demeter violations in ruby, but I felt like he left the worst type of Demeter violations out. So I’ve expanded on his post here: Expanding on the Law of Demeter
Deploying your static nanoc sites to Heroku's hosted platform with Nanoc::Heroku
So you created a static website using nanoc, the static site generator. But to where could you deploy it? The most obvious choice would be a VPS. However, using Nanoc::Heroku you can deploy to your static website to Heroku’s performant and managed platform for free. Keep reading to find out how.
Released jsdebug-rails 0.1.1
I just launched jsdebug-rails, that extends Rails 3.1’s assets pipeline. [more inside]
Concurrency in JRuby
Nick Sieger recaps his presentation from EventMachine RubyConf as a blog post.
Refinery CMS day 30th of July
We are planning on holding a “Refinery CMS Day” on the 30th of July. The purpose of this day is to fix as many issues related to Refinery CMS as possible so that we can support Rails 3.1 when it is released. Read the full blog post here.
GemAWeek Episode 7 - Twitter
Just published the 7th episode of GemAWeek. Couple days late because the screencasting software didn’t like Lion. This week, I build upon the Omnisocial login from last week and add a way for people to tweet the posts they create. Check it out at http://gemaweek.com/post/7936608699/episode7-twitter
Released Foreverb 0.2.3, awesome CLI for your daemons!
I’m happy to announce that today I released a big update for foreverb. [more inside]
Podcast: Ian Dees on JRuby, Warbler, and JRubyConf
Charles Nutter interviews Ian Dees for this week’s Cloud Out Loud podcast.
RailsAdmin with Rails 3
I just launched a blogpost about RailsAdmin and how to integrate it into your Rails 3 applications.
Myrrha 1.0.0 released
I just launched Myrrha, the missing coercion framework for Ruby, IMHO.
Tuning the Garbage Collector with Ruby 1.9.2
Shai Rosenfeld walks through tuning the GC with Ruby 1.9.2 .
Sinatra Loves Dancer
Sinatra had some issues with someone posing as core team members and leaving rude comments about the Dancer project (a Sinatra clone in Perl). To stop the badmouthing, I published an official statement to set things right.
constructable gem
I made this gem to simplify class construction.