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.
Structure Ephemeral Data
Here’s an almost-1.0.0 release of Structure: a minimal Ruby data structure that transforms API responses, config data, and what not into beautiful POROs. The code weighs just over 200 sloc. Fresh and juicy.
Using Rails tagged logging for better bug reports
In this article we describe how we make use of Rails tagged logging to create error messages that are more user friendly and easier for us to debug.
New release github_api v0.6.0
Includes integration with the new search and repository contents apis, check it out @github_api.
Improving the integration between Capybara and RSpec
In this blog post, José Valim (from Rails Core) proposes some changes to improve the integration between Capybara and RSpec.
Semaphore launched
A while ago we asked for some beta testing love, and the response was tremendous. Today Semaphore, a hosted continuous integration app for Ruby, launched to public.
ITTIA DB JDBC Driver Brings Java to Embedded and Mobile Database Development
The new JDBC driver feature of ITTIA DB SQL provides significant value for Java developers targeting embedded platforms, and adds integrated SQL storage to Java applications. This allows developers to create many JDBC connections to safely access and modify the same database, either by direct connection to Java Virtual Machine process or remote access to an ITTIA DB Server.
RubyMass: Introspect the Ruby Heap by indexing, counting, locating references and releasing objects
RubyMass can help you tackle memory leaks as you can list (and count) which Ruby objects (Ruby mass :D) are in memory. Also, you can locate references to a certain object and remove them if wanted. Try out RubyMass and feel free to send in pull requests and/or suggestions. See more at the Github page of RubyMass.
BostonRB Goes Live!
Starting tomorrow night (June 12th) The Boston Ruby Group will be streaming its meetings live. We invite everyone to watch!
Part of DataMapper 2 Is Done – Announcing Virtus 0.5.0
Last week I released Virtus 0.5.0 which is a part of the upcoming DataMapper 2 - check out the announcement on my blog to learn about new features.
Nick Gauthier on how to write good BDD tests with Capybara and Domino (Free Screencast)
Nick guest-starred on Ruby Study Hall, reviewing a set of Capybara tests I had written using his Domino gem. Some good tips on how to keep tests clean and readable and focused on the user’s perspective.
A Library that allows calculation of probabilities and properties of binomial experiments
I recently needed to do a few calculations of properties of binomially distributed random variables for my statistics class. Naturally, I wrote the code in Ruby and found it pretty useful, so I refactored the relevant parts and released a gem: bernoulli. The library is quite stable and extremely simple. All available methods are documented and a few example usages are given on the homepage.
E-commerce, Shopping Carts, STOP DOING IT WRONG!!!
I create a new post on my e-commerce series. E-commerce Tips 1.2 (The Shopping Cart) go take a look. I’ve seen some really bad shopping carts in the past few years and I’m hoping people STOP DOING IT WRONG.
markdown 0.4 - Markdown Engine Wrapper Now Includes Command Line and Text Configuration
The Markdown Engine Wrapper (markdown) gem that lets you use your markdown library of choice now supports configuration using environment variables and markdown.yml files. The markdown gem now also includes a command line tool. Try markdown -h. Cheers.
Meet Ruroku, the better, object-oriented client for Heroku API
I just released my first ruby gem, Ruroku. It’s a better object-oriented ruby client for Heroku API, built on top of official heroku.rb.
Would love to hear some feedback on it.
Pull requests are welcome.
Run Ruby Test::Unit + Minitest + Shoulda by Line-number / Folder / the dozen
gem install testrbl # alias t=”testrbl” testrbl test/test_xxx.rb:8
Ruby Classes
I have just written a post on Ruby classes here is the link, being a newbie in ruby trying to understand ruby so just started with ruby classes.
eurucamp 2012 – Call for Proposals (CFP) now open
eurucamp 2012, the european Ruby camp, is now accepting proposals for sessions. Last year Rubyists from the Berlin community organised the camp+unconference eurucamp 2011. It ran parallel to the EuRuKo mega-event and was designed for those who wanted to come to Berlin but unable to get tickets to the main EuRuKo sessions. This year, we’re building upon the work done for eurucamp 2011, but transforming it into a standalone event.
Webistrano for your Capistrano
In continuation of the capistrano subject, we would like to introduce Webistrano, edited by Peritor. Webistrano is a web interface to the Capistrano tool. It pulls projects from a Git repository (in our case it’s github) and place the files on the web server. Webistrano allows to roll back to an earlier version in case of problem, it also keeps a log of every deployment. Most important, it allows users (our customers) to deploy without any direct access to servers. Read more
zOMG My Passwords are Insecure, now What?
Don’t get stuck Learn how to migrate auth solutions with ease.
How to "Escape" from instance_eval
I wrote an article last night describing a fun little trick that allows you to “escape” from an instance_eval by (ab)using bindings and… more instance_eval.
Polymorphic with has_many :through
Just wrote a small blog post about Polymorphic Association with has_many :through
Get artistic w/ RubyMotion
I’ve written a blog post showing how to draw on an iOS device.
First beta of Capycorder released
I just launched released the first version of Capycorder, a small Chrome extension for recording of user interaction and generating Capybara request specs. The source can be found on Github and here’s a write–up with a few more details.