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.
Rails 2 Asset pipeline
Stuck with Rails 2 and want some asset pipeline love? –> Rails 2 Asset pipeline
Slide Show (S9) v1.1.0 Update - More Template Packs (Deck.js, Impress.js, CSSS, etc.)
I’ve uploaded a new slideshow gem (aka Slide Show (S9)), that is, v1.1.0. What’s new?
Many more template packs (including Deck.js, Impress.js, Slidy2, CSSS, etc.). Let’s you configure your markdown library via markdown.yml. New template variables (that is, slide.data_attributes, slide.content_without_header) and more. Cheers.
Add some basic descriptive statistics to your Enumerable module
I just launched the Descriptive Statistics gem that will allow you to basic statistics on data stored in arrays. For example data.standard_deviation or data.percentile(50).
New release github_cli v0.4.0
Command line tool for querying GitHub API v3 with new apis and juicy output formatting @github_cli.
Databases & Rails: Week 1
It’s the beginning of another course at the University of Texas, and i’m bringing the content direct to you. In this post of Databases & Rails: Week 1 Introduction you’ll learn how the web works, how data stores are used to power the web, then we’ll design a simple data store and see it implemented in PostgreSQL. Tell your friends, it’s gonna be fun.
Debunking Responsive CSS Performance Myths
Modern browsers are much smarter than most give them credit for. Myth #1: All stylesheets block rendering; Myth #2: CSS is always in the critical path. A look at under the hood of how WebKit handles CSS loading.
f.lux: eyes-care for night-workers
This post isn’t related to ruby, but as hard ruby devs, we couldn’t resist to share our experience with this tiny tool. It’s 100% free and life-changing.
Global Hack Day #5 is today!
The idea of having weekly or monthly hack nights has worked great for Ruby users groups all over the world, but the folks at Mendicant University feel like the internet deserves a similar kind of event. [more inside]
newrelic-workling 1.0 released
If you are using workling and newrelic, be sure to checkout newrelic-workling 1.0 gem, and my post
Rethinking web API development
Here is an article aboutrethinking web API development.
JavaScript Views Can Be Logical
Yea, about JavaScipt, but yesterday DHH was tweeting again about pushing HTML back from AJAX responses since they do not like logicless templates. But they do not have to be. Here is an article called View Controller Patterns With Spine.JS & SpacePen that explores Apple design patterns for ViewController that play out nicely with Spine.JS and SpacePen. Perhaps these methods can be applied to other MV* JavaScript frameworks?
Automatic and custom image rotation
This blog post describes how to easily rotate images in any angle and how to automatically rotate images left or right if the desired aspect ratio doesn’t match the original image. Image rotations can be mixed with any other Cloudinary’s image transformations. The results are cached and delivered through a fast CDN. Ruby on Rails sample code included.
Structure Ephemeral Data
Here’s an almost-1.0.0 release of Structure: a minimal Ruby data structure that transforms API responses, config data, and what not into beautiful POROs. The code weighs just over 200 sloc. Fresh and juicy.
Using Rails tagged logging for better bug reports
In this article we describe how we make use of Rails tagged logging to create error messages that are more user friendly and easier for us to debug.
New release github_api v0.6.0
Includes integration with the new search and repository contents apis, check it out @github_api.
Semaphore launched
A while ago we asked for some beta testing love, and the response was tremendous. Today Semaphore, a hosted continuous integration app for Ruby, launched to public.
ITTIA DB JDBC Driver Brings Java to Embedded and Mobile Database Development
The new JDBC driver feature of ITTIA DB SQL provides significant value for Java developers targeting embedded platforms, and adds integrated SQL storage to Java applications. This allows developers to create many JDBC connections to safely access and modify the same database, either by direct connection to Java Virtual Machine process or remote access to an ITTIA DB Server.
Tribune company open sourced 8 Ruby gems
Good stuff! Check them out! [more inside]
RubyMass: Introspect the Ruby Heap by indexing, counting, locating references and releasing objects
RubyMass can help you tackle memory leaks as you can list (and count) which Ruby objects (Ruby mass :D) are in memory. Also, you can locate references to a certain object and remove them if wanted. Try out RubyMass and feel free to send in pull requests and/or suggestions. See more at the Github page of RubyMass.
Part of DataMapper 2 Is Done – Announcing Virtus 0.5.0
Last week I released Virtus 0.5.0 which is a part of the upcoming DataMapper 2 - check out the announcement on my blog to learn about new features.
Nick Gauthier on how to write good BDD tests with Capybara and Domino (Free Screencast)
Nick guest-starred on Ruby Study Hall, reviewing a set of Capybara tests I had written using his Domino gem. Some good tips on how to keep tests clean and readable and focused on the user’s perspective.
A Library that allows calculation of probabilities and properties of binomial experiments
I recently needed to do a few calculations of properties of binomially distributed random variables for my statistics class. Naturally, I wrote the code in Ruby and found it pretty useful, so I refactored the relevant parts and released a gem: bernoulli. The library is quite stable and extremely simple. All available methods are documented and a few example usages are given on the homepage.