Open tsdbrown opened 13 years ago
Looks like the commit http://github.com/aeden/rails_sql_views/commit/11231a1d2a56cf2e4b18ec9e6e408061a3b6d303 may have caused this.
When I added the unless method_defined?(:tables_with_views_included) back on it works again.
I have the exactly similar issue when I try to migrate for postgreSQL . But the same migration works fine when I try with mySQL. Can you please elaborate on how to fix the issue ?
Thanks,
I have this exact same issue. I'm running:
rails 3.0.10
rails_sql_views 0.8.0
The error that I get
bundle exec rake db:migrate
rake aborted!
undefined method `tables' for class `ActiveRecord::ConnectionAdapters::PostgreSQLAdapter'
Any plans on fixing this? I'm getting this error when using database_cleaner with truncation strategy.
@gylaz, I'm running into this error now. Where you able to resolve this issue? Thanks.
@willsu Sorry, I have no recollection of wether I solved this or not. I have not used this gem since then.
@gylaz We were able to mitigate the issue by excluding the 'rails_sql_views' gem from out test environment. I'm sure that this will not be an option for some people, but it worked for our case.
group :development, :qa, :staging, :production do
gem 'rails_sql_views', git: 'git://github.com/webhoernchen/rails_sql_views.git'
end
Am getting this bug
this...I'm getting this bug also....lol...this bug STILL exist
Can anybody help with this error when trying to migrate. Looks like it's trying to alias a method that doesn't exist.
pg (0.9.0) rails 3.0.1
Thanks.