Skip to content

Instantly share code, notes, and snippets.

View Irostovsky's full-sized avatar

Ivan Rostovsky Irostovsky

View GitHub Profile
Dear Candidate
Thank you for applying for the Ruby on Rails Developer position at Product Madness. In order to take you through to the next stage interview we would like you to complete a short skill text.
With reference to the below red text please add your code instead of the '# Put your code here’ line. You need to implement developer class so DataBase#find_developer method does not fail. Try to add as few lines of code as possible.
class Developer
# Put your code here
end
@Irostovsky
Irostovsky / gist:30508f8e1d189034535a
Last active August 29, 2015 14:10
Sublime 3 + PhantomJS path not found
After upgrading OSX, the cucumber features down with *phantomJS not found* error.
In terminal was all ok.
Soltion:
Just install https://github.com/int3h/SublimeFixMacPath plugin for ST3.
@Irostovsky
Irostovsky / Problem
Created October 7, 2011 08:08 — forked from clemens/Problem
When the constraints block is active, I get RoutingError: No route matches "/" when going to localhost:3000. If I comment the block out, it works just fine. But I need both:
http://example.com should render PagesController#show with params[:permalink] being 'index'
http://clemensk.example.com should render ProfilesController#show
Hints anyone?
Thanks!