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.
Should my company choose RubyMotion or Swift?
We’ve been writing a few Swift apps at TFG. Here’s a summary of our experience shifting from RubyMotion .
Validating JSON Schemas with an RSpec Matcher
Use RSpec and JSON Schema to create a test-driven process in which changes to the structure of your JSON API drive the implementation of new features.
Can you learn Rails before learning Ruby?
Can you learn Rails before learning Ruby? You can, for a little while. But if you want to learn enough Ruby to master Rails, study Ruby on its own. There are tons of Ruby books out there. I counted four shelves the last time I was in a bookstore. A lot of them are good. But there are a few that are in a class of their own. And they’ll help you through the entire process of picking up Ruby.
Sunny Memories from the Barcelona Ruby Conference 2014.
Dancing drones, Gangam Style, Matz, sun and the nicest-looking presentation ever, in other words: Sunny Memories from the Barcelona Ruby Conference 2014 .
Burek - rails gem for managing translations
Do you find yourself too lazy to go to translation file to create a new translation entry? Are your views full of “I’ll turn this in to a translation call later” literal strings?. Well, end to your woes is a click away. Check out the new version of Burek!
Notes on various ways to create Structs
Here’s a writeup on various ways to create Structs with some suggestions on improvements.
Meaningful exceptions
Writing detailed documentation helps to improve software design. Explaining the intent mitigates inconsistencies and helps other people to understand our initial idea. [more inside]
Other ways to interact with an object
Just cooked up a blog post about interaction with objects using first order functions: Click here to enjoy
Interesting Rails 4.2 changes
We’ve scoured through the change notes to bring you some of the more interesting tidbits that are changing in Rails 4.2.
Neo4j and Rails: How to declare relationships and write query in Neo4j
In previous part, we’ve set up an application with Neo4j and Rails and deployed it to Heroku. From here, we’re going to see the ways to declare relationships and write query in Neo4j.
TTY gem release v0.1.0
I’ve released tty gem that aids in developing beautiful command line clients. The library has been in development for a while and has ambitions goals for the future. Please check it out and let me know your thoughts. Finally please take a look at this lovingly crafted project page. Thanks!
Green Ruby News #85
Posted this week Green Ruby News 85 with a bunch of fresh links.
Authentication Methods in Rails
You probably know how to add authentication to a Rails app with a framework like Devise or OmniAuth, but don’t let your understanding stops there. In our recent blog post, we talked about several ways to add authentication in a Rails app, and talk about their benefits and drawbacks. [more inside]
ActiveRecord Eager Loading with Query Objects and Decorators
How can you plug complex, multi-model SQL queries into ActiveRecord models so that you can use them in your views? ActiveRecord Eager Loading with Query Objects and Decorators.
Working With Complex SQL Statements in Rails and ActiveRecord
Use fancy Postgres features like Common Table Expressions to calculate a duration in business hours in any time zone. Blogged here.
Store Schema v0.0.1
I’ve just released Store Schema. Enhances ActiveRecord::Base.store_accessor with data conversion capabilities.
Parelation v0.0.1
I’ve just released Parelation. It translates HTTP parameters to ActiveRecord queries.
Splitting monolithic Rails applications
I just wrote about splitting up the large Rails applications.
Splitting monolithic Rails applications
I just published a blog post about my take on splitting up Rails applications.
When was the build passing?
Sanemat had a short talk “When was the build passing?” at Travis CI Meetup in Tokyo, Sep 17, 2014. The build passing a year ago still keep build passing now? It is not assured! I talked this and showed one solution Tachikoma.io.
9 ways to speed up your RSpec tests
Execution time is key to developing and deploying an app with ease. Here’s a couple of basic hints to speed up your Rspec tests.
9 ways to speed up your RSpec tests
Execution time is key to developing and deploying an app with ease. Here’s a couple of basic hints to speed up your Rspec tests.
The Raw Experience of Setting Up RubyMotion for Android - Free Screencast
The big announcement of RubyMotion’s support for Android has finally reached public beta! Instead of creating my normal polished screencasts, I decided to got RAWRRRR!!! This is me playing around trying to get RubyMotion for Android set up, and at the end you can see me fighting with the Android emulator, showing exactly why I use a device for development, because it’s faster and more stable. It’s a bit longer than I would have liked, but if you’re wondering about all the stuff you’re doing with setting up, this is going to be the goto place to work that out. Eventually I’ll update this as things change over time. [more inside]
Godfrey Chan has written up a nice blog ...
Godfrey Chan has written up a nice blog post of Day 1 at Ruby Kaigi. Have a read on what they’ve been talking about in Japan.
Ye Old Code Finder
Seek you to find olde code written by devs in the distant past? Seek ye no more, but instead employ ye Olde Code Finder.