ndbroadbent / turbo-sprockets-rails3

Speeds up your Rails 3 assets:precompile by only recompiling changed files, and only compiling once to generate all assets
MIT License
976 stars 78 forks source link

same error repeating #87

Closed amolpujari closed 10 years ago

amolpujari commented 10 years ago

My bundle is clear, using rails 3.2.8

When I run rake asset:precomile I am getting the following error for around 20 times

DEPRECATION WARNING: You have called '_restricts_one_per_house'. This is deprecated. Please use either 'restricts_one_per_house' or read_attribute('restricts_one_per_house'). (called from <top (required)> at /home/amol/site/app/models/gateway_type.rb:86)

What it(asset precompilation) has to do with this error, and if it is by rails while loading particular file then why so many times, is it really loading the same file 20~ times or similar?

amolpujari commented 10 years ago

Sorry, I misunderstood this one. This is no more the case.