Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ GEM
nio4r (2.5.8)
nokogiri (1.13.8-arm64-darwin)
racc (~> 1.4)
nokogiri (1.13.8-x86_64-linux)
racc (~> 1.4)
orm_adapter (0.5.0)
popper_js (2.11.6)
public_suffix (5.0.0)
Expand Down Expand Up @@ -206,6 +208,7 @@ GEM
activesupport (>= 5.2)
sprockets (>= 3.0.0)
sqlite3 (1.5.2-arm64-darwin)
sqlite3 (1.5.2-x86_64-linux)
thor (1.2.1)
tilt (2.0.11)
timeout (0.3.0)
Expand All @@ -222,6 +225,7 @@ GEM

PLATFORMS
arm64-darwin-21
x86_64-linux

DEPENDENCIES
bootstrap (~> 5.2.1)
Expand Down
21 changes: 0 additions & 21 deletions app/controllers/product_categories_controller.rb

This file was deleted.

61 changes: 0 additions & 61 deletions app/controllers/products_controller.rb

This file was deleted.

9 changes: 0 additions & 9 deletions app/controllers/welcome_controller.rb

This file was deleted.

1 change: 0 additions & 1 deletion app/views/product_categories/_product_category.html.erb

This file was deleted.

27 changes: 0 additions & 27 deletions app/views/products/_form.html.erb

This file was deleted.

12 changes: 0 additions & 12 deletions app/views/products/_product.html.erb

This file was deleted.

10 changes: 0 additions & 10 deletions app/views/products/edit.html.erb

This file was deleted.

50 changes: 0 additions & 50 deletions app/views/products/index.html.erb

This file was deleted.

9 changes: 0 additions & 9 deletions app/views/products/new.html.erb

This file was deleted.

12 changes: 0 additions & 12 deletions app/views/products/show.html.erb

This file was deleted.

42 changes: 0 additions & 42 deletions app/views/welcome/index.html.erb

This file was deleted.

14 changes: 0 additions & 14 deletions config/locales/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,14 +0,0 @@
en:
transport_mode:
error:
not_available: 'Não existe modalidade disponível'

welcome:
index:
title: 'Sistema de Frete e Transporatdoras'
outro:
outro:
outro:


I18n.translate('transport_mode.error.not_available')
18 changes: 0 additions & 18 deletions db/seeds.rb
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }])
# Character.create(name: "Luke", movie: movies.first)

User.create(email: user@email.com, password: )
Company.create(name: , cnpj: )
Product.create(name: , price: , company: )






User.create(email: user@email.com, password: )