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.
Setting Up Log File Rotation using only Ruby code for Rails
I made a short video on how to do log file rotation inside your Rails app. https://www.youtube.com/watch?v=Hgc6LGZMMXY
Understanding and Extending Rails Form Helpers
Helpers in rails are meant to clean up view code by allowing you to extract data processing logic from your markup code. By moving the logic out, you get an added benefit, you can test your “view logic” easier. Read more
Fleeting Filing With Ruby Tempfile
Dealing with external file downloading and archiving can be complicated the first time around, particularly if you’ve never worked with Ruby’s File and Tempfile classes before. This blog post explores when and how to use Ruby tempfiles, including the order of operations when it comes to Tempfile method invocations.
Ruby 2.2.3 Enumerator Basics : Part 2
Ruby 2.2.3 Enumerator methods such as enum_for, to_enum and implementing Fibonacci sequence using Enumerator. Watch it here
Successful Kickstarter for Rails Composer
Reached the funding goal for the Kickstarter for Rails Composer and will add Bootstrap templates to the next version. I’m very grateful for the outpouring of support for the project. There’s still a few hours left if you want to help.
How to Build a Rails 5 API Only and Ember Application From Scratch
With Rails API making it into the Rails master branch and Ember rapidly changing, it is time for a current post on how to get started building an app on a Rails 5 API and Ember CLI
Working with APIs in Ruby
Introduction to getting started using APIs. Examples included. http://www.blackbytes.info/2015/09/working-with-apis/
Dive into Kubernetes and Docker
Baltimore has been celebrating Baltimore Innovation Week. The best part of the week was a developer conference. From my company, SmartLogic, one of our developers presented on Kubernetes and Docker. [more inside]
Blog with markdown support for posts and pages
Hi everyone, If anyone needs a blog/personal website that supports markdown, check out https://github.com/anonyo/simple-blog
the 10 most used git commands
Here are the 10 most used git commands you need to know to impress your friends and employers. Or if you simply want to get more work done faster when building apps.
Database Sharding with Octopus
An overview of database sharding with the octopus gem. Read it here
Static Sites with Middleman
Wrote up a tutorial introducing middleman as a tool for writing static sites. Link.
Give the middleman a start-script
I use middleman for my own website. To make it easier for me to pickup my
work over different machines , I added a small start script to the repository.
In this article I’m going to show you how it works and how you can make use of
it for your own website build on top of middleman. If you like my writing and don’t want to miss any new article, you may want to follow me on Twitter or subscribe to the news feed of my site.
Ruby 2.2.3 Enumerator Basics : Part 1
Ruby 2.2.3 Enumerator methods such as each_with_object, next, next_values and feed. What it here
Using OpenShift s2i Docker images to build Ruby application containers
Have you ever deployed Ruby apps to OpenShift PaaS? Wandering what’s behind OpenShift 3 Ruby images and how to use them to build your application images with one s2i command without writing any Dockerfile? Read my latest post.
Cropping with Carrierwave
Wrote up a quick post with an example of how to make use of imagemagick’s crop functionality through Carrierwave. Link.
Ruby 2.2.3 Hash Basics : Part 4
Ruby 2.2.3 hash methods such as default proc, delete, delete_if, each and each_key. Watch it here
Ruby 2.2.2 Array Basics : Part 12
Ruby 2.2.3 methods such as zip, values_at, unshift, uniq! and to_h. Watch it here
Released image_processing gem
I extracted image processing from refile-mini_magick into the image_processing gem, with the goal of having generic helper methods for image processing which can be used in any project.
Pinterest API gem
Pinterest finally opened up their rest API out of beta late last week. Here is a ruby gem to interact with it: http://github.com/realadeel/pinterest-api Lots of devs have been waiting for this API so hopefully the gem will be a big help to start playing with it!
Recurring Jobs with Clockwork and Volt
I built a realtime Bitcoin price monitor in Volt using the “clockwork” gem for recurring jobs. Check it out!
mandrill_mailer 1.1.0
Nothing earth-shattering in this new version aside from a few useful RSpec custom matchers but it looks like few people knew we reached 1.0 (which brought support for mandrill_api 1.0) recently so I thought I’d let you good folks know about it. :-)
What happened to RailsBricks?
RailsBricks is gone and people are asking why.
Upcoming Ruby Conferences - October 2015 Edition - Live Version Try $ rubyconf
Hello, For you convenience the upcoming Ruby Conferences as listed with the whatson gem and the included rubyconf command line tool (for a live version try $ rubyconf): [more inside]
Stepwise Refinement
Seattle Ruby’s Lazy Professor problem solved using Stepwise Refinement. Read it here