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.
TDD is like Communism
Turning around coworkers argument against TDD
remodel -- a minimal ORM (object-redis-mapper)
An ActiveRecord-like mapping layer which offers familiar syntax like has_many, has_one etc. to build your domain model in ruby. Only 300 loc and on GitHub.
Capfire gem, send deploy message to Campfire
We just launched Capfire a gem to post notifications from your deploys to your Campfire, with a link to the Github compare view include.
SSL checklist for Rails Applications
Enabling SSL in a Rails application is really trivial and there are just a few points that need your attention.
How and why use periodicTimer
In ruby EventMachine is a great tool. I explain why use PeriodicTimer and how it’s works.
Padrino is a full-stack web framework wrapped around Sinatra
Padrino is a modular ruby web framework built upon the excellent Sinatra Microframework. Padrino was created to make it fun and easy to code more advanced web applications while still adhering to the spirit that makes Sinatra great! It provides a full set of standardized view helpers, an enhanced router, i18n localization, a Django-esque admin interface, generators, mountable applications and much more. Get started by reading our guides, viewing our screencast, or checking out the github repo for more information!
Red Dirt Ruby Conference Program and Early Bird Registration
Red Dirt Ruby Conference, May 6th and 7th, 2010, Cox Convention Center, Oklahoma City, Oklahoma, http://reddirtrubyconf.com
Rails Coach Interview with Chad Fowler - Part 2
I interviewed Chad Fowler (this is part 2 of the interview). We talked about challenging yourself by finding things that make you uncomfortable and how that makes you better. We also talked about the tools and processes we use to generate good code and what good code is.
Pivotal Pulse and Integrity integration
Here’s a quick writeup for how to make your Integrity instance play nice with Pivotal Pulse.
Introducing Rails Routes TextMate bundle
I just launched Rails Routes TextMate bundle that helps navigating to action or view for any named route (things like new_publisher_magazine_photo_url
). Check out GitHub repo for installation info and blog post for introduction and yada yada.
Like rats deserting the good ship Merb - introducing merb-to-rails3 railtie
If you’re migrating Merb applications to Rails3 or you’re about to start doing that then make sure you check out a helper library we’ve written recently called merb-to-rails3 which will ease the (small) pain of the migration.
Grep in Ruby – A powerful Enumerable method
I just post a new blog about Grep method in Ruby. @zigzagchen Next time when you come across some situation need to use “select + map”, maybe you could keep “grep” in your mind beforehand.
RubyKaigi 2010 (Japan's Ruby Conference) is open for talk proposals
RubyKaigi 2010 is the premiere Ruby conference in Japan. This year’s RubyKaigi will be from August 27-29 at Tsukuba International Conference Centre (the venue of RubyKaigi 2008”), just outside of Tokyo proper. RubyKaigi 2010 is open for talk proposals until April 28th. Talks on any topic related to Ruby are welcome: RubyKaigi 2010 Call for Presentation Proposals. RubyKaigi 2010 is also seeking “sub-event” organizers: RubyKaigi 2010 Call for Sub-Event Proposals.
twitter_connect makes twitter oauth like facebook connect
I just released twitter_connect gem. It popups a window to authenticate twitter oauth, like facebook connect, which is especially suit for the application in iframe or you don’t want user leave your website. There is also a demo, check it here
Play! Framework....Rails for Java is finally a reality
Thought I’d share my thoughts on play! with you. I have around 10 years exp with Java, and around 4 with Ruby/Rails. I love Rails, but it does cause heartburn at times. The inability to easily track behavior definition, especially when plugins and Rails itself monkeypatches things, can make life difficult.
Following Pivotal Tracker projects with Kilt
Kilt is a Rubygem to follow Pivotal Tracker projects. I explain the motivations in this post.
Everything There is to Know About Routes in Rails 3
Guest community contributor Rizwan Reza has put it all together and posted on the Engine Yard Blog.
ActiveHelper - helpers with proper encapsulation, delegation, interfaces and inheritance!
ActiveHelper is a generic framework for writing clean helpers with defined interfaces. It is geared towards usage in frameworks like Rails, Merb, Sinatra or your own project. Check out my introducing blog post and yada yada.
Check your scripts with jslint on rails
Learn how to check JavaScript code with JSLint in your Rails projects. Useful and highly recommended!
Rails + RightJS = Love
The right-rails (RightJS for Rails) plugin has seen some major updates recently, time for some brainwash from the author of RightJS.
Grow your app from seeds
Use rails database seed rake task to instantly add data to your development db, it helps spot design and user flow issues quickly.
Using Ruby To Solve Towers Of Hanoi Iteratively And Recursively
We can demonstrates the value of recursion by using Ruby to solve the Towers of Hanoi puzzle both iteratively and recursively. As a side-effect this shows how much more expressive the solution can be when done in Ruby.
Jquery Full Calendar with Rails
Jquery Full Calendar provides a full-sized, drag & drop calendar. I decided to give it a try and utilize its hooks for user triggered events within our Rails application. Find more information about this small project here
(My) RSpec best practices and tips
After a year using RSpec, I’m happy to share “(My) RSpec Best Practices and Tips”. I hope this will help you make your specs easier to maintain, less verbose, more structured and covering more cases. Your comments are very welcomed! :)