[OSM-Photos] length for :photos_status:Symbol not defined [was] Partial success
H.S.Rai
hardeep.rai at gmail.com
Sun Nov 7 01:54:22 GMT 2010
I encountered one error during db:migrate, before uploading photo and
also now after uploading one photo, if I use "rake".
It says "undefined method `length' for :photos_status:Symbol"
On Sat, Nov 6, 2010 at 9:16 PM, H.S.Rai <hardeep.rai at gmail.com> wrote:
> ... was able to login, photo uploaded. It shows that
> photo as "Pending"
--
H.S.Rai
meet at meet:~/OSV/OpenStreetView$ rake
(in /home/meet/OSV/OpenStreetView)
DEPRECATION WARNING: Rake tasks in
vendor/plugins/restful_authentication/tasks are deprecated. Use
lib/tasks instead. (called from
/var/lib/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10)
You have 1 pending migrations:
20091031110719 PhotoFilenameStatusIndexes
Run "rake db:migrate" to update your database then try again.
meet at meet:~/OSV/OpenStreetView$ rake db:migrate
(in /home/meet/OSV/OpenStreetView)
DEPRECATION WARNING: Rake tasks in
vendor/plugins/restful_authentication/tasks are deprecated. Use
lib/tasks instead. (called from
/var/lib/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10)
== PhotoFilenameStatusIndexes: migrating =====================================
-- add_index(:photos, [:status], {:name=>:photos_status})
rake aborted!
An error has occurred, all later migrations canceled:
undefined method `length' for :photos_status:Symbol
More information about the Photos
mailing list