Ruby on Rails Sunday, July 24, 2016

Hi Hassan,

Test coverage is quite low as its just pulling data from an API source. I'll fix up the test coverage in a bit. Since the development logs don't say much you think I can find the answer in the test environment?

Thanks,
Allen

On Sun, Jul 24, 2016 at 10:30 PM Hassan Schroeder <hassan.schroeder@gmail.com> wrote:
On Sat, Jul 23, 2016 at 12:47 PM, Allen <allen.wyma@gmail.com> wrote:
> I recently tried to upgrade a rails 4.2 app to Rails 5, but had a weird
> problem where whenever I ran bin/rails s and tried to make a request, the
> page would show the default "Something went wrong" and the development.log
> just showed that I accessed the page and nothing else. any ideas on how to
> debug what's wrong?

I would expect to see failing tests -- how good is your test coverage?

And if the answer is "uh, well..." then go back to the 4.2 version and
write some, at least for the area that you're seeing issues with :-)

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/frTPK5GC1EY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBLZoEftvVsKQDwLpNEE8OwP8c2uD6i1Uqvwm0yuMG20w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJuWSyKLp-kfjwONMGHsHMugi9Fb37hH2%2Bf%2B%2BgQuEL20xP-Ueg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment