Ορέστης Καπλάνης
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
Hey there @Simon. In my case i had exactly the same issue and i fixed it with this:
all things are correct. try to change the code in controller just like this:
def index
roasts = Roast.all
respond_to do |format|
format.html
format.json { render json: roasts}
end
end