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.
Gaining Control of RubyMotion with UIViewControllers
This is the second post in a series about getting to know RubyMotion. At the end of the previous post we had something on screen and had learnt some core principles of iOS development with RubyMotion, now we’re going to get ourselves organised using classes for a controller and a view, and get some interaction going in the next part of the series, Gaining Control of RubyMotion with UIViewControllers
A community-driven list of Ruby interview questions
Check out Toptal’s new community-driven list of great Ruby interview questions. We’ve begun with an initial sampling of questions. Read them, comment on them, and even contribute your own. [more inside]
Another Guide to Upgrade to Rails 4.1
I wrote the article, which gives you nice hints and solutions (including workaround for different gems), which will help you in the process of upgrading you app.
5 Reasons to Outsource Your Ruby On Rails Developer
Ruby on Rails Lovers! Just check out this post on 5 Reasons to Outsource Your Ruby On Rails Developer
Starting A RubyMotion Application
Go through the process of creating a real iOS application using Ruby in this ongoing tutorial series. Part one is introducing you to the basics of just getting something on the screen and pointing out some core differences between most Ruby implementations and RubyMotion. http://blog.motioninmotion.tv/starting-a-rubymotion-application
Segment.io is as important a service for Rubyists as Heroku or New Relic
Last night, I set up an SEO keyword tool and a Twitter+Facebook retargeting tool for seven different websites. Both tools require I add JavaScript snippets to my websites but I didn’t touch my codebases or deploy anything new. [more inside]
Yukihiro “Matz” Matsumoto Presenting Tonight via Live Stream (7:30pm PDT)
Yukihiro “Matz” Matsumoto, Chief Designer of the Ruby Programming Language is presenting on Ruby.Next at the Ninefold offices in San FranView the live stream at 7pm (PDT).
Resetting auto increment in Rails
I wrote a short article about resetting the auto incrementing id in a Rails app using PostgreSQL after importing old data in a new app. [more inside]
Formatting Dates for Display with Ruby
I wrote a small tutorial on formatting and displaying dates to users or customers. Hopefully, it’s helpful.
Representable 2.0 With Better Inheritance, Filters And Automatic Collections!
Representable is a mapping gem to transform Ruby objects to and from hashes, JSON, XML, and YAML. This blog post explains the new features in the 2.0 release.
Simplest Security Best Practices (for servers hosting Ruby on Rails apps)
We’ve just posted a basic list of simple practices you can apply that will take you towards the goal of bulletproof-security (this is not a complete list, but something to get you started), take a look at Simplest Security Best Practices .
Roda - The Routing Tree Web Framework
I’m proud to announce the initial release of Roda, a new ruby web framework based on the following ideas: [more inside]
attr_searchable is search_cop now and v1.0.0 is out
attr_searchable, the gem to add database agnostic fulltext search to ActiveRecord (for Mysql and PostgreSQL) is a young and ambitious project. As its set of features grew, it has become neccessary to change its DSL and name. Thus, ‘attr_searchable’ is called ‘search_cop’ now. [more inside]
How to Pick Languages
Adam Keys shares our latest GrowingDevs article on some techniques for picking languages. While not strictly about Ruby, this is a great guide for finding a language to try next.
Google Analytics API access via Ruby (on Rails)
I just published a tiny “how to”: Google Analytics API access via Ruby (on Rails). Hope it helps some people!
Refactoring Logic from a Rails View
I wrote about Refactoring Logic from a Rails View. Hope you enjoy!
Write maintainable JavaScript/CoffeeScript in Rails
I just wrote a piece about the pattern we use to write maintainable JavaScript in our Rails apps. Have a read and let me know what you think.
Shortcode, a gem for working with wordpress style shortcodes in ruby projects hits 1.0.0
Created 1 year ago the Shortcode gem has new hit version 1.0.0. Thanks to the community for submitting pull requests, bug reports and feature requests the gem has matured and become more full featured in it’s year of existence. Features of note include: [more inside]
middleman-presentation - building HTML+JavaScript-presentations without much effort.
This project helps you to build wonderful presentations based on HTML and JavaScript. [more inside]
Art to Aid, Shopify to Spree, VPS to Ninefold – It’s All About Satisfaction
Several months ago we were reaching a critical point in Art to Aid’s development. We had begun using Shopify about six months prior to test our theory that creatives and consumers want to work together to create good in the world; at least ten percent of every sale on Art to Aid goes to support a charitable organization of the artist’s choosing. We were closing in on flipping the switch on our own custom platform built on the popular Ruby on Rails ecommerce platform Spree. I had been happily denying the need for a deployment strategy more complex than a capistrano task pushing out to a single VPS. Continue reading blog
RubyConf 2014 is open for Registration
Sunny San Diego this year from November 17-19, 2014. [more inside]
4 simple memoization patterns in Ruby (and one gem)
Memoization is really common in Ruby, but the most popular pattern for memoizing method calls has some major flaws. I wrote about some of the more advanced patterns you can use to memoize your method calls, and show some interesting Ruby tidbits along the way.