August 2010
2 posts
3 tags
APIDock from command line
milandobrota:
Ruby on Rails developers spend a lot of time in console.
function api() { google-chrome "http://apidock.com/$1/search?query=$2" ;}
added to your .bashrc file will allow you to search Ruby/Ruby on Rails/Rspec documentation on APIDock directly from the console.
Usage:
api [ruby|rails|rspec] method_name
Example:
api rails link_to
A better way is to search by default in rails and...
2 tags
Radiant: No such file or directory - db/schema.rb
If you clone a repository with Radiant and while running
rake db:bootstrap
you get an error like this
rake aborted!
No such file or directory - /path-to-you-project/db/schema.rb
Just create a db/ folder inside your application