Skip to content

Instantly share code, notes, and snippets.

View dangerrg's full-sized avatar
🖥️
Programming!👨🏾‍💻

Gálvez dangerrg

🖥️
Programming!👨🏾‍💻
View GitHub Profile
source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
ruby '2.6.3'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
@dangerrg
dangerrg / Gemfife Porfolio
Last active September 2, 2021 07:57
This is a side project were I
source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2'
@dangerrg
dangerrg / 1.Salsa Blog - Micro Social Network.md
Last active September 2, 2021 14:32
This web application is a Salsa Blog, called Casineros Cubanos, and it's about Salsa dance and music. It's like a micro-social network, intending to connect people who love Salsa and allow others to learn more about Cuban and Latino culture. With this on Blog, people can share their knowledge, passion, and experience, related to Salsa music and …

Cuban Casineros (Casineros Cubanos)

Description

This web application is a Salsa Blog, called Casineros Cubanos, and it's about Salsa dance and music.

It's like a micro-social network, intending to connect people who love Salsa and allow others to learn more about Cuban and Latino culture.

With this on Blog, people can share their knowledge, passion, and experience, related to Salsa music and dance.

class MessagesController < ApplicationController
def new
@message = Message.new
end
def create
@message = Message.new(message_params)
respond_to do |format|
if @message.valid?