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.
Build Reddit in Sinatra
A tutorial showing you how to build a Reddit-like application using the Sinatra framework. A previous post demonstrated a more condensed version.
Two sunny days at Rulu 2012
Rulu is a very nice conference in France and this year was another great success. This summary of the talks can show you a part of it and maybe will encourage you to come next year.
Drop-in User Avatar Solution for Rails Apps
We just launched a new service Avatars.io. It enables user avatars for your application. [more inside]
Slide Show (S9) Update - Quick Starter Templates, Takahashi Slide Break Shortcuts
What’s Slide Show? A gem that lets you author slides in plain text using a wiki-style markup language that’s easy-to-write and easy-to-read. – What’s new? 1) Added -q/--quick [MANIFEST] command that lets you use quick starter templates such as impress.js, deck.js, Slidy, or S5. 2) Added a --takahashi option that lets you use // between words or on its own line to break up slides. Cheers.
StackOverflow authentication using OmniAuth
I just released omniauth-stackexchange gem.
Table inheritance in PostgreSQL
Rails STI will be just fine for most cases. Anyway, for large databases, or when attributes vary a lot between models, using table inheritance could be very helpful. Using it with rails is really easy, learn how here.
Open-sourcing Our Hosted IRC Gateway
Flowdock, the team collaboration tool from the authors of APIdock, open-sourced the EventMachine based hosted IRC gateway today.
Databases & Rails: Week 3 Build HTML with Pure Ruby (no Rails)
Week 3 in my class series at the University of Texas, we’re building views with nothing but Ruby and the standard library. If you’re just getting started or you’ve been using Rails for years, come learn how Rails works some of it’s view Ruby magic. We cover building html, layouts, and serving dynamic content with a server (web brick).
Reddit in 10 Lines of Code
Tutorial showcasing some refactoring techniques and ruby tricks.
Get Rid of That Code Smell – Primitive Obsession
If you want to learn how Primitive Obsession code smell looks like in Ruby check out my latest post from “Get Rid of That Code Smell” series.
Dotify: A dotfile CLI management tool
I just created Dotify, which is a CLI tool to manage those crazy dotfiles on your system. No more custom solutions to manage those pesky things.
Walrus.js - Logic-full client-side templating
I just launched walrus.js, Mustache + ActionView for the client-side.
Dynabix: An ActiveRecord Ruby gem for attribute serialization
Presenting Dynabix. Dynabix is an ActiveRecord 3.x RubyGem that facilitates attribute serialization via dynamically created read/write accessors. Read our into blog article here www.gearheadforhire.com
SPDY & Secure Proxy Support in Google Chrome
Chrome supports SSL-based proxies, which allows us to setup and use fast and secure SPDY proxies! A DIY guide for setting up your own SPDY proxy, ala Amazon Silk.
Hibernate and ITTIA DB SQL Provide Embedded Java Persistence
ITTIA DB JDBC driver supports Hibernate which provides powerful, high performance relational persistence and query options for high-level, database-driven, Java applications. In addition, the ITTIA DB JDBC driver includes a Hibernate dialect that developers can use to quickly set up the Hibernate environment, and supports a rich set of Hibernate functions and fundamental data types.
Upgrading old authentication to new Devise
Are you moving your authentication algorithm to new one? Here is how I did it with new Devise.
Using Rails Gems Like simple_form in Sinatra Or Anywhere
Have you ever wanted to use simple_form in a Sinatra app? The new cells version allows using Rails gems outside of Rails in any environment. And surprisingly this article describes how this works!
Exefy 'Em All
If you want to get rid of Gem batch files on RubyInstaller Ruby versions on Windows check out the article about new gem-exefy gem
Patterns can be bad too.
Just wrote a really short plead on a worrisome trend. Think before you do.
R18n 1.0.0, i18n for Rails/Ruby
I I’ve just release R18n 1.0.0, an i18n library for Rails/Ruby with some extra features and clean architecture. [more inside]