Closed wanze closed 9 years ago
Sorry I have tried some stuff out for the first two points ;)
nice! i'm working on the rest btw ;)
when editing a session i get the following error message:
SQLite3::SQLException: no such table: running_participant_results: SELECT "running_participant_results".* FROM "running_participant_results" WHERE "running_participant_results"."sport_session_participant_id" = 2 ORDER BY "running_participant_results"."id" ASC LIMIT 1
App Trace:
app/models/sport_session.rb:48:in result' lib/facade/base_facade.rb:186:in
rescue in method_missing'
lib/facade/base_facade.rb:183:in method_missing' app/controllers/runnings_controller.rb:37:in
edit_result'
any ideas?
@Bergrebell Seems to be an exception which is not catched. @wanze I guess we discussed that here: https://github.com/Bergrebell/CyberCoach/commit/db7fccf81629dd6f34d7ac415f0fbba7f4b0c9fa
Edit: Sorry, I mixed up two different topics.
@Bergrebell It seems that the table running_participant_results is missing.
Maybe @wanze needs to push his db/schema.rb
file or db migration files.
yes it seems as if the migrations are missing ...
@wanze - i did some minor changes concerning the "User should know what to enter, e.g. integer/text or km/miles etc." and realized that firefox displays the form placeholders in another way - shall i push them?
@Bergrebell Can you pull from dev and run migrations again? Those models were created by Sveta but there were some problems with the migration files missing... I had to merge manually and it looks like I forgot to copy them over, it only worked on my machine because the tables existed. Does it fix the error for you?
i did some minor changes concerning the "User should know what to enter, e.g. integer/text or km/miles etc." and realized that firefox displays the form placeholders in another way - shall i push them?
I'm not sure what you mean, could you post some screenshots? If you used the HTML-5 placholder tag, then it's normal. Each browser displays the form elements a bit different
@wanze - now it's working! thanks!
Sorry, I take this over!
Finally done in commit: 7951658aa258c0ef84202463f3be6ecb0e02d9f9