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.
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.
Building HTTP JSON APIs w/ Ruby (and Sinatra) - linz.rb Talk
Last nights slides from the linz.rb talk titled Building HTTP JSON APIs w/ Ruby (and Sinatra). Use left/right cursor keys (or space bar) to browse the slides. Or check the all-in-one-page markdown source. Cheers.
Never forget to `bundle install` after a git checkout again
Certain tasks like updating dependencies or migrating a database must be done after pulling code or checking out a branch. Other tasks such as re-indexing our ctags improve our development experience. Both kinds of tasks are easy to forget to do and are therefore error-prone. To address the problem, we’ve recently added a standard, extensible set of git hooks to our dotfiles in order to automate necessary, but annoying tasks. [more inside]
The Rails + Angular equation can give you satisfaction
I wrote a post on how to integrate Angular and Rails and how this mix can even improve code readability
Rake Tasks Best Practices
One of the guys at the office asked me. What things should I keep in mind when writing a rake task and how do I know if my rake task is well written. I decided to make a list of what I think are good practices and here it’s the result. [more inside]
Download Sinatra Cookbook now
Today I am announcing the first 8 chapters of Sinatra Cookbook, and to celebrate here’s 15% off for you all. [more inside]
7 ways to use mindmapping as a developer
From designing application architecture to helping in understanding complicated code, site maps can be a great tool for developers. Take a look at 7 ways to use mindmapping as a developer.
Daemonizing Ruby Processes
I published a short article on how to Daemonize your Ruby process without using any 3rd party dependencies.
Front-end coding started to be pleasant - said a Rails dev thanks to SPA
What’s different (the good and the not-so-good) in SPA’s and why as a web developer, you should care about it. How Developing SPA Influenced Me & My Code.