Coder Social home page Coder Social logo

job_board's Issues

Avatar Uploader Bug

Hi again!

I am enjoying working with this Ruby on Rails application! However I am having a problem. Perhaps you know what's going on?

I am able to create a new job without using the image uploader with no issue. However, once I try to upload the issue, I get an error:

Validation failed: Jobs is invalid

create
app/controllers/jobs_controller.rb, line 54

Error On Compilation

E

Error:
JobsControllerTest#test_should_update_job:
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: users.email: INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2018-04-03 06:38:41.199140', '2018-04-03 06:38:41.199140', 298486374)

bin/rails test test/controllers/jobs_controller_test.rb:36

E

Error:
JobsControllerTest#test_should_show_job:
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: users.email: INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2018-04-03 06:38:41.441724', '2018-04-03 06:38:41.441724', 298486374)

bin/rails test test/controllers/jobs_controller_test.rb:26

E

Error:
JobsControllerTest#test_should_get_new:
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: users.email: INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2018-04-03 06:38:41.449266', '2018-04-03 06:38:41.449266', 298486374)

bin/rails test test/controllers/jobs_controller_test.rb:13

E

Error:
JobsControllerTest#test_should_destroy_job:
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: users.email: INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2018-04-03 06:38:41.456997', '2018-04-03 06:38:41.456997', 298486374)

bin/rails test test/controllers/jobs_controller_test.rb:41

E

Error:
JobsControllerTest#test_should_get_edit:
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: users.email: INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2018-04-03 06:38:41.465155', '2018-04-03 06:38:41.465155', 298486374)

bin/rails test test/controllers/jobs_controller_test.rb:31

E

Error:
JobsControllerTest#test_should_create_job:
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: users.email: INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2018-04-03 06:38:41.474543', '2018-04-03 06:38:41.474543', 298486374)

bin/rails test test/controllers/jobs_controller_test.rb:18

E

Error:
JobsControllerTest#test_should_get_index:
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: users.email: INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2018-04-03 06:38:41.485154', '2018-04-03 06:38:41.485154', 298486374)

Advice needed. Does it worth upgrading to 5.2.0 or rebuild?

I used your repo as a shell a couple of months ago. It is not even close to job_board now lol, I used book-library as a shell too before for another project.

I added tons of scaffolds and gems and features but I have to upgrade it to 5.2 for Active Storage.

Does it even worth upgrading to 5.2.0 or should I just rebuild using book-library? It is throwing tons of errors when I tried upgrading. :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.