On 1 April 2015 at 17:52, Faisal Hassan <faisal.hassanx@gmail.com> wrote:
> https://github.com/Faisal-Hassan/vzncommerce
>
> The link above is the link to my project. I'm trying to pull up 3 products
> from the database to show up on the index page in a carousel. The index page
> comes up as blank. How can I fix this? Thanks.
By first looking in log/development.log to see what is happening when
you make the request for the index page. Then if that looks ok start
debugging your code to see what is going wrong. A simple way is to
insert calls to logger.info to print values to the log file at
appropriate points to see what is going wrong. When you have worked
out which bit is failing then, if you still cannot see the problem,
post here a few lines of code around the bit that is failing and
someone will help.
Colin
>
> --
> 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/8387049e-5294-4b3e-9f69-993fe8a4a1bf%40googlegroups.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/CAL%3D0gLsvqfxQ%3DNcc1z3mWVsVckso1WyCE-bT%2BADUQsvm0YCfTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment