hello, i did check field_id method in github and apidock.com.
there is field_in method in NamedBase class, but that is 5.1 version only. i don't know why they removed field_in method.
and then we can't more use field_in. if you want still, you can make helper for field_in method that is simple code. you can check field_in method in below link.
Got error
/lib/templates/erb/scaffold/show.html.erb.tt:14:in
block in template': undefined method
field_id' for #Erb::Generators::ScaffoldGenerator... (NoMethodError)hello, i did check field_id method in github and apidock.com.
there is field_in method in NamedBase class, but that is 5.1 version only. i don't know why they removed field_in method.
and then we can't more use field_in. if you want still, you can make helper for field_in method that is simple code. you can check field_in method in below link.
apidock.com/rails/v5.1.7/Rails/Gen...
github.com/rails/rails/blob/5-1-st...