Skip to content

Instantly share code, notes, and snippets.

View brunnocgoncalves's full-sized avatar

Brunno Goncalves brunnocgoncalves

  • Santo Andre - SP - Brasil
View GitHub Profile
@juanca
juanca / rails.md
Last active June 4, 2025 22:19
[GUIDE] Starting a new Ruby on Rails project in docker

Bootstrap project

  1. Initialize your project folder: git init

  2. Create your project files with a ruby image:

    docker run -it -v .:/rails/<app_name> -w /rails/<app_name> ruby:latest /bin/bash
    gem install rails
    rails new .
    exit
    
@sseletskyy
sseletskyy / new_gist_file
Created July 1, 2013 10:28
Rails scaffolding types
Rails scaffolding types
These types are valid since Rails version 2:
string
text (long text, up to 64k, often used for text areas)
datetime
date
integer
binary
boolean