Commit Graph
76 Commits
Author SHA1 Message Date
Aaro Koivukangas 6f2fe8f17e bugfix: rake db:reset RAILS_ENV=test also runs db:seed => test db is not empty 2023-11-11 15:10:42 +02:00
Aaro Koivukangas 1b48f87833 4.11 added gh actions to project 2023-11-11 14:12:05 +02:00
Aaro Koivukangas 875f6a62ea added coverage to project 2023-11-11 14:11:31 +02:00
Aaro Koivukangas 0ec630afd5 added simplecov to project / updated packages 2023-11-11 13:52:25 +02:00
Aaro Koivukangas 80d848ec47 4.8 test to check if rating is deleted from the db on click from user's page 2023-11-11 13:50:21 +02:00
Aaro Koivukangas 80c4a6bfca 4.7 test that user ratings are shown on the user's page 2023-11-11 12:03:22 +02:00
Aaro Koivukangas afc123126a 4.5 implemented tests for creating a new beer 2023-11-08 16:55:54 +02:00
Aaro Koivukangas 7dfff96dcb upto 4.4: favorite_brewery, extracted favorite_attribute 2023-08-16 11:52:03 +03:00
Aaro Koivukangas d8455d2867 rubocop fixing + helper methods 2023-08-16 10:05:14 +03:00
Aaro Koivukangas ca680d7c04 upto 4.3: favourite style 2023-08-16 09:54:07 +03:00
Aaro Koivukangas 9a3ae5e0eb upto 4.2: beer tests 2023-08-15 16:04:53 +03:00
Aaro Koivukangas 76fce1dad2 upto 4.1: user tests 2023-08-15 16:04:37 +03:00
Aaro Koivukangas 526d729af3 installed and initialized rspec 2023-08-15 14:03:57 +03:00
Aaro Koivukangas 77351c9ba1 removed test directory, rspec coming 2023-08-15 14:03:43 +03:00
Aaro Koivukangas 2c1fbf44c8 better variable initialization in beer controller 2023-08-15 14:01:01 +03:00
Aaro Koivukangas 787afc1fd6 removed incorrect variable name from tests 2023-08-15 14:00:33 +03:00
Aaro Koivukangas 4e74c30afb rubocop fixing 2023-08-14 18:11:35 +03:00
Aaro Koivukangas da643b6614 changed rails to use production environment 2023-08-14 18:06:20 +03:00
Aaro Koivukangas 86e46cb954 upto 3.16 2023-08-14 17:57:21 +03:00
Aaro Koivukangas e5f040e583 fixed an error when deleting logged in user 2023-08-14 17:49:25 +03:00
Aaro Koivukangas 314b50b24c upto 3.13: users can only be edited by the same user logged in 2023-08-11 17:54:02 +03:00
Aaro Koivukangas 09a0169c3f small encancments to user views 2023-08-11 17:53:17 +03:00
Aaro Koivukangas 169037ea17 submitting empty user form doest raise an error 2023-08-11 17:52:36 +03:00
Aaro Koivukangas e4b2bbbfd9 ratings are properly destroyed when user is deleted 2023-08-11 17:51:38 +03:00
Aaro Koivukangas e9987eef51 only user that created rating can delete it 2023-08-11 17:50:36 +03:00
Aaro Koivukangas 8802652778 links to different users are no more all routing to current_user 2023-08-11 16:21:49 +03:00
Aaro Koivukangas 737992c27b upto 3.12: added password + validation 2023-08-10 21:45:01 +03:00
Aaro Koivukangas 9ff0b5acc5 upto 3.11: added option to join to beerclub 2023-08-10 21:07:37 +03:00
Aaro Koivukangas cb57e9643c upto 3.10 2023-08-10 20:02:11 +03:00
Aaro Koivukangas babe5573b1 added many to many betweer beers and users 2023-08-10 18:33:51 +03:00
Aaro Koivukangas 77ede55a52 upto 3.7 2023-08-10 18:27:36 +03:00
Aaro Koivukangas 57e569c098 add needed variables for error page 2023-08-10 18:27:23 +03:00
Aaro Koivukangas a8180ac3f7 rubocop fixing 2023-08-10 18:13:37 +03:00
Aaro Koivukangas 46b8502bd9 upto 3.7 fixed incorrect path for delete 2023-08-10 18:12:22 +03:00
Aaro Koivukangas 9939f51934 errors use correct variable name 2023-08-10 18:11:54 +03:00
Aaro Koivukangas 8fb5db0025 added validation for models 2023-08-10 18:09:01 +03:00
Aaro Koivukangas b0ab392fc2 added errors to creating new rating 2023-08-10 17:01:25 +03:00
Aaro Koivukangas 14c92694a3 fixed typo 2023-08-10 16:56:35 +03:00
Aaro Koivukangas 49b8bde03e removed rubocop warning with cool syntastic sugar :D 2023-08-10 16:46:00 +03:00
Aaro Koivukangas 003f959b20 incorrect login redirects back to sign-in 2023-08-10 16:40:10 +03:00
Aaro Koivukangas 9977eb5cca removed redundant links 2023-08-10 16:34:31 +03:00
Aaro Koivukangas 7c44a632a3 upto 3.6 2023-08-10 16:31:24 +03:00
Aaro Koivukangas 185c61bc6e disabled 'last rating given' because it was not shown on the example picture 2023-08-10 16:30:15 +03:00
Aaro Koivukangas f0c49274be rubocop cleaning 2023-08-10 11:45:40 +03:00
Aaro Koivukangas 47a476c71c upto 3.5 2023-08-10 11:44:01 +03:00
Aaro Koivukangas 23e6537a12 upto 3.3 2023-08-08 20:01:01 +03:00
Aaro Koivukangas 28f91f355f upto 3.2 2023-08-08 17:34:08 +03:00
Aaro Koivukangas 24414ca391 added hosting url to readme 2023-08-08 16:15:50 +03:00
Aaro Koivukangas fc2fc93ab0 upto 2.16 2023-08-08 15:20:25 +03:00
Aaro Koivukangas 837f739992 upto 2.15 2023-08-08 14:52:03 +03:00
Aaro Koivukangas 752bbfa59f removed unnecessary line 2023-08-08 12:42:49 +03:00
Aaro Koivukangas 80e1c6407d upto 2.14, added rating average counting for breweries 2023-08-08 11:08:38 +03:00
Aaro Koivukangas d6a1de554d upto 2.13 2023-08-08 10:40:30 +03:00
Aaro Koivukangas 25a334a662 upto 2.12 2023-08-08 10:34:26 +03:00
Aaro Koivukangas 403a3c3674 upto 2.11 2023-08-08 10:32:52 +03:00
Aaro Koivukangas 852c9b35c3 upto 2.10 2023-08-08 10:16:59 +03:00
Aaro Koivukangas a099e05279 upto 2.9 2023-08-08 10:10:45 +03:00
Aaro Koivukangas 83f58f47b2 upto 2.7 2023-08-08 09:31:03 +03:00
Aaro Koivukangas be444d1e56 added pry-byebug 2023-08-08 09:30:23 +03:00
Aaro Koivukangas 3262ddfe24 added vendor to ignore 2023-08-08 09:29:45 +03:00
Aaro Koivukangas 93433e24bb added compiling static files 2023-08-05 15:27:31 +03:00
Aaro Koivukangas e0557bce2f initialize db before running server 2023-08-05 15:15:39 +03:00
Aaro Koivukangas bb81ce5ba2 bugfix var to str 2023-08-05 15:06:11 +03:00
Aaro Koivukangas 9edd6aa3a4 added log variable to docker-compose 2023-08-05 15:05:21 +03:00
Aaro Koivukangas 8149fa9a6a changed env to be production 2023-08-05 15:02:32 +03:00
iritmaximus c650555e28 week2 upto 6 2023-06-13 13:39:35 +03:00
iritmaximus fdb6de1f4a week 2 up to 4 2023-06-13 13:08:42 +03:00
iritmaximus 34646c6dad removed cmd from dockerfile 2023-05-31 18:15:20 +03:00
iritmaximus 2064875909 bugfixing of db:migrate 2023-05-31 18:08:14 +03:00
iritmaximus 8c85b9fea2 added restart to docker compose 2023-05-31 17:40:56 +03:00
iritmaximus c8c9cb5a48 dockerized the project 2023-05-31 17:32:54 +03:00
iritmaximus a25555e8f8 updated gemfile for production 2023-05-31 16:24:02 +03:00
iritmaximus 39ef7c3d75 tehtävät 11 asti 2023-05-31 16:19:16 +03:00
iritmaximus d5a0c6b809 added new table and db seeding 2023-05-29 22:36:43 +03:00
iritmaximus 920d7182df added brewery model 2023-05-29 17:51:38 +03:00
iritmaximus 13dc131ea3 initial commit 2023-05-29 16:55:42 +03:00