DISQUS

Emad Ibrahim: Ruby on Rails for a .NET Developer - Part 1

  • Jonathan · 1 year ago
    Good for you! I admire that you're stepping out of the '.NET' zone for a bit to try something new. I promise you won't be disappointed Rails.

    I'm actually trying to convince my company to switch from .NET to Rails. It's going to be tough, but going to be SO worth it in the end.

    Good luck!
  • Antonio Cangiano · 1 year ago
    Hi Emad,

    welcome to Rails-land! :) A few things to consider:

    1) When creating a project, you can specify a "-d mysql" option in order to have the config/database.yml file filled with MySQL specific information, given that the current default is SQLite.

    2) You don't have to manually create the databases. Simply run: rake db:create:all from your project. For a complete list of available tasks, run: rake -T

    3) You may want to consider starting to use migrations, rather than defining the tables directly through SQL or MySQL tools.

    Best of luck,
    Antonio
  • Emad Ibrahim · 1 year ago
    @Jonatha thanks. It's a little challenging being that everything is different, OS, tools, platform, syntax, language, etc... I am lucky I have been playing with asp.net mvc because the transition is a little easier.

    @Antonio great tips. thanks...

    One thing that sucks so far has been the documentation.