Topic: Open Source, Good Idea??

Hello,

   I am planning to make a Rails Website, however I plan on making a community around it and I'd like the community to contribute (the  website will be for developers). Is it a good idea to have the source in a Github repository?

  Ofcource on Github I will be posting a Developement model not the actual Production. What problems could I face? Could I be giving hackers an easy access??Also if I would like to include Console management would that f**k things up?