counter column does not get updated

Hi

I have
In user.rb
has_many :properties ,:dependent => :destroy

In property.rb
belongs_to :user ,:counter_cache => true

inside property migration
add_column :users, :properties_count, :integer, :default => 0

for some reason the counter column does not get updated.

I am using resful auth. I am not sure if it's causing the problem.