You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I go to print the table, I get the following errors. One of them is an undefined method for each and the other is a difficulty rendering in thebreweries/index.html.erb file. I think that I am getting an entry list of breweries. I tried a fix you had by changing the rails_admin per model but was unable to do it, as I am currently not using the 'rails_admin' gem. I would really appreciate some tips and fixes for this issue as it it my first time using rails and filterrific. Thanks so much!
Here is my code for the breweries controller and the breweries model, as well as the _list and index HTML file.
When I go to print the table, I get the following errors. One of them is an undefined method for each and the other is a difficulty rendering in thebreweries/index.html.erb file. I think that I am getting an entry list of breweries. I tried a fix you had by changing the rails_admin per model but was unable to do it, as I am currently not using the 'rails_admin' gem. I would really appreciate some tips and fixes for this issue as it it my first time using rails and filterrific. Thanks so much!
Here is my code for the breweries controller and the breweries model, as well as the _list and index HTML file.
`class BreweriesController < ApplicationController
end`
`class Brewery < ActiveRecord::Base
end`
_list.html.erb
`
Breweries
<% @breweries.each do |brewery|%>
<% end %>breweries/index.html.erb
`
<%= form_for_filterrific @filterrific do |f| %>
<%= render(
partial: 'breweries/list',
locals: { breweries: @breweries }
) %>`
The text was updated successfully, but these errors were encountered: