Hi all,
I've got stuck with this. Here's the error message: NoMethodError in Account#index
Showing account/index.rhtml where line #4 raised:
undefined method `table_name' for Upload:Class Extracted source (around line #4):
1: <h1>My account</h1> 2: 3: Login name: <%= current_user.login %> <br /> 4: Files uploaded: <%= current_user.uploads.find(:all).count %> 5: <br /> 6: <%= render :partial => 'layouts/menu' %>
its a basic acts_as_authenticated user model with has_many :uploads attribute any suggestions on how to fix this?