Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0da9522
Update README.md
dHelmgren Sep 30, 2019
d5d851b
change "toggle_complete"
beccaelenzil Oct 15, 2019
630e2e6
Merge pull request #50 from Ada-C12/be/remove_toggle_complete
CheezItMan Oct 15, 2019
b131a99
First commit new rails app and Task controlers, index and display ERB…
veralizeth Apr 28, 2020
e0d117f
Adding the override test and readme
veralizeth Apr 30, 2020
bb029ef
Adding the root to task#index, to redirect to index without using/index
veralizeth Apr 30, 2020
238ab3a
Comment to root
veralizeth Apr 30, 2020
aeea6e7
Create the schema of the tasks table
veralizeth Apr 30, 2020
238f395
Model for task
veralizeth Apr 30, 2020
cafca26
Firt db migration, creating a tasks table
veralizeth Apr 30, 2020
d3f36b3
Test files for the models
veralizeth Apr 30, 2020
3158852
To show all the task from the db Task.all
veralizeth May 1, 2020
bd45cd2
Update the view index, to show the name, description and Completed_at
veralizeth May 1, 2020
0797133
show action added for specif id
veralizeth May 1, 2020
6f25993
link_to create a new task
veralizeth May 1, 2020
438e9ad
'/tasks/new' route to new task page
veralizeth May 1, 2020
cae8519
Unskip show and new tests
veralizeth May 1, 2020
fbdd42f
Create a new view to show the new task
veralizeth May 1, 2020
6116050
View for show action
veralizeth May 1, 2020
f0bac33
New and create methods to add new task
veralizeth May 3, 2020
253be66
New form to add new task
veralizeth May 3, 2020
22c60d7
New tasks route to create new task
veralizeth May 3, 2020
56fc132
Skip wave 2 test
veralizeth May 3, 2020
21a93b5
redirect_to tasks_path for an invalid task, edit and update methods
veralizeth May 4, 2020
3832047
link_to Edit
veralizeth May 4, 2020
f694cbe
text_field insted of tex_area
veralizeth May 4, 2020
d40ce14
New routes, edit and update
veralizeth May 4, 2020
e35f3a3
get rid of the skip of wave 2 tests
veralizeth May 4, 2020
4074c1a
Edit view
veralizeth May 4, 2020
b45c3b1
edit method redirect
veralizeth May 4, 2020
c4b465d
Edit test
veralizeth May 4, 2020
a407b9c
Partial view for New and Edit views
veralizeth May 5, 2020
f8db02a
redirect to the root page if given an invalid id
veralizeth May 5, 2020
9fb6337
update test can update an existing task & redirect to the root
veralizeth May 5, 2020
41b6f6e
Strong Params for tasks
veralizeth May 5, 2020
acf0789
Link to Home
veralizeth May 5, 2020
0eb9119
Buttons for Edit, mark done and delete
veralizeth May 5, 2020
2d24094
Refactoring using Resources and root
veralizeth May 5, 2020
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
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
57 changes: 26 additions & 31 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/test/tmp/
/test/version_tmp/
/tmp/
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

## Specific to RubyMotion:
.dat*
.repl_history
build/
# Ignore bundler config.
/.bundle

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

## Environment normalisation:
/.bundle/
/vendor/bundle
/lib/bundler/man/
# Ignore uploaded files in development.
/storage/*
!/storage/.keep

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
/public/assets
.byebug_history

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
.DS_Store
# Ignore master key for decrypting credentials and more.
/config/master.key

/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby-2.6.5
78 changes: 78 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.6.5'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.2', '>= 6.0.2.2'
# Use postgresql as the database for Active Record
gem 'pg', '>= 0.18', '< 2.0'
# Use Puma as the app server
gem 'puma', '~> 4.1'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 6'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem 'webpacker', '~> 4.0'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Active Storage variant
# gem 'image_processing', '~> 1.2'

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.2', require: false

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end

group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end

group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
# Easy installation and use of web drivers to run system tests with browsers
gem 'webdrivers'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

gem 'jquery-rails'
gem 'jquery-turbolinks'
gem 'bootstrap'
group :development, :test do
gem 'pry-rails'
end

group :development do
gem 'guard'
gem 'guard-minitest'
gem 'debase', '>= 0.2.4.1'
gem 'ruby-debug-ide', '>= 0.7.0'
end

group :development do
gem 'better_errors'
gem 'binding_of_caller'
end

group :test do
gem 'minitest-rails'
gem 'minitest-reporters'
end
Loading