vertis.io
user

vertis.io

Writings about development, future technology and life


Featured

Moped Error

Posted on .

Yet another of my ‘obscure error message’ posts:

After upgrading an old Rails app from 3.2.x to 4.0.x I started getting a really weird error. Made all the more confusing by the fact that I couldn’t work out why it was trying to load Moped (given Mongoid 5.0.0 no longer uses Moped).

Featured

Automated Trading resources

Posted on .

One of the things that I’ve been doing sporadically over the last couple of years is dabbling in Automated Trading. Now when I say dabbling, I mean small fry. Mostly playing with backtesting and the occasional test with small amounts of real money.

It’s been interesting, and I’ve learned a lot (many of the ‘things not to do’).

The following is a collection of useful tools and learning resources.

Featured

Rails 3.2 Precompile error

Posted on .

Every so often I come across an exception that doesn’t turn up good search results as a solution. This time it was:

$ rake assets:precompile --trace
...
NoMethodError: undefined method `empty?' for nil:NilClass
  (in <snip> /app/assets/stylesheets/application.css.scss)
<snip>/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sass-3.1.16/lib/sass/tree/root_node.rb:23:in `render'
Featured

Things I Want To Do This Year (2015)

Posted on .

This will be my second year documenting things that I want to do this year and giving myself a mark on the results. I found it to be a valuable exercise last year, though my priorities did shift over the course of the year.

Featured

Scorecard for 2014

Posted on .

Wow! 2015 already. 2014 certainly went by in a flash. At the start of the year I documented everything that I wanted to get done in 2014. Now I’d like to do a quick retrospective on those items.