G
G
Guardian of the North2015-08-19 00:06:21
Ruby on Rails
Guardian of the North, 2015-08-19 00:06:21

Github portfolio for Ruby on Rails or security through obscurity?

Hello!
I'm new to RoR, looking to get into the profession with this technology. Like any newbie, I want to make sure that my Github profile is not a virgin desert.
And my question is quite simple.
What can a Ruby on Rails developer's Github portfolio consist of?
I'll reformulate my question. I'm going to be writing a couple of RoR sites - a business card blog (which every first Rails noob probably wrote), a service for calculating troop damage in Heroes of Might & Magic, a couple of other small hand-stuffing features. And I have a question - is it worth uploading their code to Github, is this a good practice? Doesn't this violate the security of the site? Maybe only certain gems/modules/etc should be made public? Or is security through obscurity still a vicious practice, and there is nothing wrong with throwing open the doors of the site's internal structure?
Naturally, I'm not worried about this particular example - well, who would think of hacking a calculator for a game? I'm worried about instilling in myself as a developer the right paradigms of thought =-)
But still, what should be uploaded to your Github profile? ..

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2015-08-19
@Ashlst

My personal vision: Everything non-commercial in open source. Commercial projects - to private repositories

V
VorontsovIE, 2015-08-22
@VorontsovIE

Do not add a file with passwords from the database and a file with tokens to the git, the main thing. Well, whether to create the appearance of security is your business. If the project is yours and non-commercial, I wouldn't worry about its sources.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question