Ruby on Rails Saturday, May 27, 2017

oh, I don't know what happened.  But  I pushed it up to github again and deployed it on heroku and it works . now.
Must have been a few files that were not included in the original push.

Thanks,
Joe

On Saturday, May 27, 2017 at 11:03:40 AM UTC-4, nynhex wrote:
Good call on this one, request and response are almost reserved naming conventions in rails.

> On May 27, 2017, at 9:32 AM, Hassan Schroeder <hassan.s...@gmail.com> wrote:
>
> On Sat, May 27, 2017 at 6:15 AM, Joe Guerra <JGu...@jginfosys.com> wrote:
>> Hi, I'm not sure why my app on heroku is crashing.
>> I've added a requests controller, and everything works locally using sqlite.
>
> "works" in the sense that you have tests for this part of your code?
>
> That aside, having a "requests" controller sounds like a phenomenally
> bad idea -- "request" and "response" have very specific meanings in
> any web application, and in the case of Rails request() is an instance
> method of ActionController::Base.
>
> I would strongly recommend changing the name of that controller :-)
>
> --
> Hassan Schroeder ------------------------ hassan.s...@gmail.com
> twitter: @hassan
> Consulting Availability : Silicon Valley or remote
>
> --
> 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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDAbayWntKqCuUES1M5bAorxiZkfq5h3Syn%3D30%2B76k07Q%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/1842ec4d-8d64-4cdc-9fa1-f22c4d131da4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment