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.
Caching In Cells: API Change In 3.10.
Cells is a popular view component gem for Rails. The latest 3.10 release changes the API slightly - read the blog post for a discussion on cell caching and the changes.
New Starter Apps from Rails Composer
You can use Rails Composer, “the Rails generator on steroids,” to create any of the Rails 4.1 starter apps from the RailsApps project, including a new application that combines Devise and Pundit with Bootstrap or Foundation.
5 Advanced RubyMotionQuery Tips
There is more to Todd Werth’s RubyMotionQuery (RMQ) than you might realise, it’s filled with amazing tools to help you clean up your code and possibly do things you didn’t know were possible. In this episode I have 5 Advanced RMQ tips to expand your knowledge of RMQ. [more inside]
VPS Tutorial, CentOS, rbenv, rails, nginx, passenger
How to install VPS for rails development/production with CentOS, rbenv, ruby, rails, nginx, passenger
Public methods are your public API and be careful with what you include and inherit from others
When building APIs you should be careful with what you actually allow people to see since anything that’s out there could possibly be called by someone. Read more about it here.
Encode and decode Erlang and Elixir terms with Ruby
erlang-etf provides a pure Ruby version of term_to_binary and binary_to_term for communicating in Erlang’s External Term Format. Map from Erlang >= R17 and compressed binary support has been recently added.
Advanced Unit Measurement Conversion and Math with Unitwise
Unitwise is a Ruby library for unit conversion, measurement math, and really handy tool for performing scientific calculations. I have officially released it, and would appreciate any feedback before I move to v1.0.0.
Create an Interactive Console for Your Library With Pry
A neat way to use powerful tools to develop your RubyGems and have the library at your fingertips.
Two-part guide on Ruby CSV Library
SitePoint Ruby just put the 2nd part up here. If you want to learn about this library, these posts are great.
Rails 4.1 - My favourite changes
A little writeup on what I most like in Rails 4.1: Rails 4.1 - My favourite changes
RubyMotion the "Rails" Way Proposal
This is a current proposal that I’d like your feedback on for how we can clean up how we write RubyMotion applications. It’s purely conceptual at the moment, and there would have to be some framework development to make this work the way described here. [more inside]
Smarter Rails Seeding with Sprig
Announcing Sprig, a new gem for better seed data management in your Rails apps.
Inch 0.3.2 now supports configuration file
Inch, the gem that powers Inch Pages (which is basically Code Climate for your docs), now supports per-project configuration via an .inch.yml file (see the README for more info).
RSpec fun - A simple 7 part series.
Checkout a simple and concise 7 part RSpec series at RSpec. It covers some of the most important and commonly used RSpec features.
BigBroda, bring some Bigquery to your ActiveRecord
I just launched BigBroda: an ActiveRecord adapter with rails integration for Google Bigquery.
This Is Professionalism
A lesson I learned 10 years ago that still holds true today
Shortcode gem now has presenters
The shortcode gem for parsing wordpress style shortcodes in ruby content management systems now has presenters for more powerful control over what is rendered by the templates. Check it out.
Avoid `self.included(by) by.extend ClassMethods`, use inherit!
I very much dislike the all too common pattern
<pre>module Foo
def self.included(by)
by.extend ClassMethods
end
end</pre>
That’s why I created the inherit gem. It’s minimal (15 LoC relevant code).
Please check it out! Feedback is welcome!
Build a Ruby Gem Book Tech. Review
I posted an update on Build a Ruby Gem Book Tech. Review. Hope you enjoy!
How to setup SSL on Heroku for a Rails Application
We recently setup SSL on Resumonk.com which is a Rails 3 application running on Heroku. Here is a quick summary of the entire process and hope it saves you some time when you are looking to enable SSL for your Rails application on Heroku.
RubyMotion - Under the hood
A recap of how you might see what’s going on under the hood in RubyMotion
Securing your AWS Infrastructure with IAM
AWS provides great tools to handle keys, authentication and security. Here’s a simple setup how to quickly make your AWS Infrastructure more secure with the Identity and Access Management (IAM). [more inside]
On Writing Conversion Methods in Rails
I wrote about using conversion methods in Rails to make it easier to grab instances of your models. Check it out and let me know what you think!
Pakyow 0.8 Release
I’m happy to announce that Pakyow 0.8 has officially been released. This is a major release and includes a better router, a more intuitive view syntax, and an improved view transformation API. Read all about it → [more inside]