Daniel Libanori
e77ef81b1b
Ignore Rails .env according recomendations
Reasons for making this change:
Rails dotenv ignore is not following dotenv recommendations as stated in its documentation
Links to documentation supporting these rule changes:
https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
2年前
MetaJuanito Fatas
823e38ff68
Add /public/uploads for file upload gem Shrine (#3333)
When using a file upload gem called Shrine, its file system mode put images under `public/uploads`.
053bcf297e/doc/storage/file_system.md
4年前
hshimoyama
1604c21c60
Add .env.* to optionally ignored files in Rails.gitignore. (#3065)
4年前
Marlon Henry Schweigert
3dc70c8fc4
Upgrate to rails 6.0.0 (#3167)
* Upgrate to rails 6.0.0
* Simplify Rails.gitignore
4年前
OKURA Masafumi
1a417fe294
Don't ignore tmp and log directory (#2999)
https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
Rails `5.2.2.1` requires `tmp` directory committed to git repository for CI to run successfully.
5年前
Valentine C
86fdc70096
Ignore public/assets in Rails .gitignore
5年前
Gurvir Cheema
3db98a37a4
Add storage and yarn related entries for rails 5.2
5年前
chimame
1af113752b
Add exclude credential master key of Rails 5.2
6年前
Stefan
0a4fc9c0ef
Ignore node_modules (#2538)
Rails 5 uses npm to handle javascript dependancies, node_modules should not be checked in to git.
6年前
Connor Taffe
811b3a6998
Double-asterisk misuse
`**.` is invalid
7年前
Steve Hull
cedd263b83
Remove config/secrets.yml
Rails no longer generates this file with sensitive secrets (default now is to do `secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>` in production).
7年前
Max Woolf
a275681ead
Annotate .env addition
8年前
Max Woolf
85147407e4
Add .env to optionally ignored files
Many twelve-factor apps use environment variables rather than the built in Rails secrets mechanism to store secrets.
The [dotenv](https://github.com/bkeepers/dotenv ) gem is widely used for this purpose and allows environment variables to be loaded from the `.env` file. However, this file should not be committed to source control.
This PR just adds the `.env` file to `.gitignore` so that these secrets aren't accidentally committed. In some rare instances, it may be required that this file is committed to source control so I've added it to the list of files that can be removed if the developer is ok with secrets being committed.
8年前
pisaacs
9c92fa360f
Add .byebug_history to gitignore
.byebug_history included in default Rails5 setup (https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/templates/gitignore )
8年前
Justas Brazauskas
f5784d7a10
Fix few typos
8年前
Wafiq Rodzuan
33546effa9
Typo in comment
I know this is petty, but imagine thousand upon thousand of corrective commits saved by fixing the typo right into the heart of the file.
9年前
Antoine-Ali Zarrouk
15aa5a8af2
Removed .powconfig line
Couldn't find any references to .powconfig being used in application directory
9年前
Antoine-Ali Zarrouk
a891529b38
Targeted more specifically pow files
9年前
renhx
15e56afe09
Added *.sqlite3-journal to Rails.gitignore
9年前
Antoine-Ali Zarrouk
825ec35036
Ignoring Pow environment settings
9年前
Fabian Heredia Montiel
6f167b8992
Add ignores for bower-rails
bower-rails integrates bower.io into Rails, it allows you to have everything in a Bowerfile and install all vendor assets easily.
10年前
Adam Gross
b7664de699
Changing been to being per https://github.com/tmountjr
10年前
Adam Gross
5f1911f3b4
Simple grammar update
10年前
Adrian Rangel
9d4978d1c8
add notice about secret files
10年前
Carl Suster
553033ff2f
Remove old sass-cache rule for Rails
10年前
Shawn Davenport
8c525145ac
secrets.yml, not secret.
10年前
Shawn Davenport
9a2da27935
Rails: Ignore the new home of secret_key_base.
10年前
Carl Suster
669668fb14
Join comments in rails template
10年前
Carl Suster
0ac2f7cb82
Optionally ignore ruby env normalisation files, with comments
10年前
Pedro Nascimento
85562c2572
Remove .project from Rails.gitignore.
10年前
Aldo Román Nureña
0bad6cf48b
added secret_token.rb
I added secret_token.rb file to the gitignore as there are public repos sharing it.
10年前
Yuanxuan Wang
ab68187ab9
Ignore Rails directories instead of their files
11年前
Michael Minter
a698a92747
add .project files to .gitignore
.project files come from Aptana Studio, a Rails IDE.
11年前
mwitek
c9397c586b
added .rvmrc to the list of ignored extentions
11年前
frankel
171709e8e8
config/*.yml should not be ignored in Rails
The possible files could be database.yml or sold.yml
12年前
Marcin Ciunelis
8fd1095933
added pickle generated files
13年前
seenmyfate
83a92c8e7f
added rerun and config ignores
13年前
David Padilla
2f219bd07e
Ignore .orig files for Rails
13年前
Tom Ward
6f6fbb0363
Unless full paths are used .gitignore, all matching files and folders will be ignored, however deep they are in the repo.
For example, ignoring log/* doesn't just ignore all log files, but also files such as lib/project/log/awesome_logger.rb. It's a mistake I've made a couple of times but never seemed to have learned from.
13年前
Jeffry Degrande
2cd02577f2
rspec config file and capybara generated files
13年前
Jeffry Degrande
ef630e07b4
sass generated files
13年前
Chris Wanstrath
244b9d3ef5
Remove .rmvrc from Rails.gitignore. Feel free to add manually.
13年前
Joey Geiger
1231be1e5d
I think you also want to ignore vendor/bundle...
13年前
Yaroslav Markin
672ce09d68
Ignore Rubinius compiled files
13年前
bry4n
b3e1755b56
added .rvmrc and coverage/ (rcov) to Rails.gitignore
13年前
Chris Wanstrath
b7cc33a99b
begin! add Rails and Obj-C templates
13年前