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.
Practical guide to StatsD/Graphite monitoring
I wrote a practical guide for StatsD/Graphite if you are interested in running your own NewRelic, dig deeper in your data, or want to improve your graphite skills, you might be interested in reading this article. [more inside]
YAML Configuration in Ruby with Settingslogic
Settingslogic is an awesome RubyGem for straightforward access to Ruby application configuration.
The Elements of Style in Ruby #3: Make Sure Something Is an Array
I just posted the third installment of my ongoing blog series on Ruby style.
Wiselinks 0.7
Wiselinks-0.7.0 has just been released.
Here is a list of changes:
– URL variable fix in wiselinks events
– Correctly handle trailing slash
– Added data-include-blank-url-params and data-optimize-url-params params to form processing. Check README for more info.
– Minor changes and fixes (removed most of trailing spaces, replaced attr('data-') with data('')). [more inside]
Fuzzy logic "Fuzzy Associative Memory" package expanded, Gem-ified
The ‘Fuzzy Associative Memory’ package on Github has been significantly expanded: additional fuzzy-set shapes, composite antecedent propositions (with AND/OR), and choices for set weighting/implication. It’s also been packaged as a Gem for easy inclusion in your own game or application. [more inside]
Rails redirects
There are a couple of different ways to do redirects in Rails, it can help the flow of the app and SEO, I blogged about it.
Datamappify - A New Take on Decoupling Domain, Form and Persistence in Rails
I wrote a blog post about Datamappify - a gem I built for decoupling domain, persistence and form objects. :)
The Elements of Style in Ruby #2: Favor Sprintf(format) Over String#%
I just posted the second installment of my ongoing “The Elements of Style in Ruby” blog series.
Upgrading to Rails 4.0 from Rails 3.2 – Test case – Part I (preparations, configuration, gems)
I just wrote a first part of a tutorial on how to update you Rails application from Rails 3.2 to Rails 4. You can check it out here: Upgrading to Rails 4.0 from Rails 3.2 – Test case – Part I (preparations, configuration, gems).
Verified Double gem
Hi everybody, I’ve been working on verified_double, a gem for verifying mocks in rspec. It works similar to rspec-fire, but instead of checking if the doubled objects respond to the mocked methods, the gem looks for tests tagged to confirm the validity of those methods. The gem’s still in its infancy, but I hope it’s usable for the most common cases.
New gem for speedup your tests
I just launched gem factory_girl-seeds which can speedup your tests runtime in about 2 times :)
MetaCasts.tv - Ember.js Full Hour Video 25% Off!
For the next 24hrs get the MetaCasts.tv hour long video on Ember.js for 25% off, only $15. http://www.metacasts.tv/casts/ember-js-pts-1-4 Includes full source code.
Quick video intro to Searchlight, the lightweight search gem
Searchlight is a lightweight search gem that’s both easy to use and extremely flexible. (At least half its awesomeness is owing to my coauthor, Adam Hunter.) [more inside]
Secure Rails with Hakiri
I just released a CLI tool for Rails developers that allows them to quickly check for CVE vulnerabilities in their web stacks.
The Elements of Style in Ruby: An Essay in N Parts
I just launched a series of articles on the elements of style in Ruby.
How to reduce code complexity in Ruby?
The blog post introduces what complexity is, how it can be measured, how to monitor it in Ruby, and how to reduce it in Ruby. The post is concluded with some thoughts and recap. [more inside]
Reliable mocks with Bogus
Mock with Bogus to avoid having to run your slow integration test suite everytime you refactor your code. Learn more about it in this screencast! [more inside]
football.db Gets Country Repos - Austria, Germany (Bundesliga, DFB Cup etc.)
The plain text football fixtures that you can read with the sportdb gem now sports for easy management and contributions country repos. The first repos include Austria (Österreich) and Germany (Deutschland). See the Deutsche Bundesliga 2013/14 match schedule, as an example. More info. Cheers.
Fuzzy Associative Memory (FAM) fuzzy logic / AI package now on Github
I just released my Fuzzy Associative Memory package to Github. A FAM is a Fuzzy Logic construct useful for decision making in control systems, AI, game agents, etc. There are embellishments still in the works, but this is working software. Pull requests are enthusiastically encouraged.
Speakers for NickelCityRubyConf announced!
We’ve got a great lineup for our conference here in Buffalo this September 20th and 21st. I hope to see you here!
Tweets as JSON via a rack app
A limited functionality version of rackatweet is now available. [more inside]