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.
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]
Using ActiveRestClient to Access an API
Recently Which? launched its first piece of open source software, a Ruby Gem to easily interact with REST APIs. There’s pretty full documentation on its GitHub page, but I wanted to write a bit more of a real world introduction to using ActiveRestClient to access an API.
Tearing Down Capybara Tests of AJAX Pages
Have you hit issues reliably tearing down Capybara tests of pages that make AJAX requests? We wrote a post on how we used Rack middleware to help solve this problem.
Elasticsearch integration for ActiveModel and Rails
The elasticsearch-model and elasticsearch-rails gems for ActiveModel/Record and Rails integration with Elasticsearch have been released. Read more at github.com/elasticsearch/elasticsearch-rails.
REVIEW AND RE-FACTORING- Its all about Finding Opportunities
I just posted a blog on refactoring… Finding Opportunities
world.db, football.db. beer.db - Pre-Built SQLite Databases for Download
Hello, For your convenience I’ve pre-built w/ the (sportdb, beerdb) Ruby gems some SQLite databases using the open public domain data sets. You’ll find the releases on GitHub. world.db (~ 0.5 Megs), football.db (~ 1.3 Megs), beer.db (~ 1 Meg). Cheers. PS: A new database is in the works. Welcome the wine.db. Prost.
Better Nesting in API Documents With Representable 1.7.6
Representable helps you rendering and parsing API documents. Mapping deeply nested documents to flat objects has been a bit of a pain. A new DSL method simplifies that in an enjoyable way.