can I have a password in config/application.rb if I upload to a public github repository?
I am setting up a contact form and have a password to a particular email for that project there. If I push to github will this be public? Where can I learn what branches are public and which ones are private from a rails app?
I'm rather new to rails so simple terms would be appreciated.
I have something like so:
class Application < Rails::Application
config.action_mailer.smtp_settings = {
:address => "mail.domain.com",
:port => 587,
:domain => "domain.com",
:user_name => "events@domain.com",
:password => "password",
:authentication => :plain,
:enable_starttls_auto => true
}
config.action_mailer.default_url_options = {
:host => "www.domain.com"
}
end