ese-unibe-ch / ese2012-team4

5 stars 1 forks source link

Refactor error messages #25

Closed LukasSkywalker closed 12 years ago

LukasSkywalker commented 12 years ago

We could use the "sinatra-flash" gem (https://github.com/SFEley/sinatra-flash) in order to avoid unnecessary routes just for displaying an error message (the /items/:error_msg and similar routes)

shirsbrunner commented 12 years ago

This should be one of our main priorities in the next iteration. Error message handling is a bit out of control imo. Examples, try to buy stuff from different pages (items-page, item-page and so on) without having enough credits (combine it with an out of sync-error and we have to handle both).

gianlucamateo commented 12 years ago

I'd suggest we discuss that during our next meeting. @lukas: The gem looks very promising...