Skip to content

Commit

Permalink
Add more categories
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilst committed Oct 6, 2018
1 parent 7ae8425 commit 7e3f4a6
Showing 1 changed file with 81 additions and 56 deletions.
137 changes: 81 additions & 56 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,69 +6,94 @@
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
# Character.create(name: 'Luke', movie: movies.first)

# Category.find_or_create_by(
# name: 'uncategoried',
# display_name: 'selecione ..',
# color: '#ff',
# )
# Category.find_or_create_by(
# name: 'market',
# display_name: 'Mercado',
# color: '#ff7c8e',
# )
# Category.find_or_create_by(
# display_name: 'Serviços',
# name: 'services',
# help: 'Luz, água, internet, etc ...',
# color: '#7cffd5'
# )
# Category.find_or_create_by(
# display_name: 'Lazer',
# name: 'recreation',
# color: '#f9ed90'
# )
# Category.find_or_create_by(
# display_name: 'Trasporte',
# name: 'transport',
# color: '#efef8d',
# )
# Category.find_or_create_by(
# display_name: 'Salário',
# name: 'salary',
# color: '#8cefbe'
# )
# Category.find_or_create_by(
# display_name: 'Saúde',
# name: 'helth',
# color: '#9198ff'
# )
# Category.find_or_create_by(
# display_name: 'Alimentação',
# name: 'food',
# color: '#f99b90'
# )
# Category.find_or_create_by(
# display_name: 'Investimentos',
# name: 'invest',
# color: '#7cff9f'
# )
# Category.find_or_create_by(
# display_name: 'Pet',
# name: 'pet',
# color: '#7ccfaf'
# )
# Category.find_or_create_by(
# display_name: 'Cartão de Credito',
# name: 'credit_cart',
# color: '#7ccfaf'
# )
# Category.find_or_create_by(
# display_name: 'Taxas',
# name: 'tax',
# color: '#7ccfaf'
# )
# Category.find_or_create_by(
# display_name: 'Casa',
# name: 'house',
# color: '#91a8fa'
# )
Category.find_or_create_by(
name: 'uncategoried',
display_name: 'selecione ..',
color: '#ff',
display_name: 'Saques',
name: 'withdraw',
color: '#9caafa'
)
Category.find_or_create_by(
name: 'market',
display_name: 'Mercado',
color: '#ff7c8e',
display_name: 'Roupas',
name: 'cloth',
color: '#01a8fa'
)
Category.find_or_create_by(
display_name: 'Serviços',
name: 'services',
help: 'Luz, água, internet, etc ...',
color: '#7cffd5'
display_name: 'Educação',
name: 'education',
color: '#9100fa'
)
Category.find_or_create_by(
display_name: 'Lazer',
name: 'recreation',
color: '#f9ed90'
display_name: 'Desinvestimento',
name: 'divestiment',
color: '#a10afa'
)
Category.find_or_create_by(
display_name: 'Trasporte',
name: 'transport',
color: '#efef8d',
)
Category.find_or_create_by(
display_name: 'Salário',
name: 'salary',
color: '#8cefbe'
)
Category.find_or_create_by(
display_name: 'Saúde',
name: 'helth',
color: '#9198ff'
)
Category.find_or_create_by(
display_name: 'Alimentação',
name: 'food',
color: '#f99b90'
)
Category.find_or_create_by(
display_name: 'Investimentos',
name: 'invest',
color: '#7cff9f'
)
Category.find_or_create_by(
display_name: 'Pet',
name: 'pet',
color: '#7ccfaf'
)
Category.find_or_create_by(
display_name: 'Cartão de Credito',
name: 'credit_cart',
color: '#7ccfaf'
)
Category.find_or_create_by(
display_name: 'Taxas',
name: 'tax',
color: '#7ccfaf'
)
Category.find_or_create_by(
display_name: 'Casa',
name: 'house',
color: '#91a8fa'
display_name: 'Receita',
name: 'revenue',
color: '#a10afa'
)

0 comments on commit 7e3f4a6

Please sign in to comment.