@admin = Box.new(admin_params)
@n = Box.where(name: params[:name])
no error but no function.so how suggest for if input so that data not same.
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 post to this group, send email to email@example.com.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.