How to create your own plugins for your Ruby programs

In the post How to add your own scripts to Ruby loader path and solve load errors I solved a very annoying problem for newbies (like me).

With that issue addressed I continued to develop my project. It basically is composed by a main file that loads all scripts from lib sub-folder and executes some methods. Continue reading “How to create your own plugins for your Ruby programs”

How to solve error rake aborted! Unknown database ‘mysite_development’

In the beginning of my Ruby On Rails project I tried to run migration command

and got the error bellow:

Continue reading “How to solve error rake aborted! Unknown database ‘mysite_development’”