Bug #462
shares tab broken - undefined method extras
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/02/2010
Due date:
% Done:
0%
Description
reported by user kitty:
Processing SetupController#index (for 192.168.0.10 at 2010-03-02 20:32:12) [GET] Parameters: {"sub"=>"shares", "action"=>"index", "controller"=>"setup", "tab"=>"share"} Rendering template within layouts/amahi Rendering setup/index ActionView::TemplateError (undefined method `extras' for #<Share:0xb6543a88>) on line #5 of app/views/share/_extras.html.erb: 2: <%= editable_content( 3: :content => { 4: :element => 'span', 5: :text => (share.extras and !share.extras.blank?) ? h(share.extras) : t('add_extra_parameters'), 6: :options => { 7: :id => "share_extras_#{share.id}", 8: :class => 'editable'
to debug, we'd like to know the output of the following (when asked for a password please type 'AmahiHDARulez'):
(cd /var/hda/platform/html && echo 'select * from schema_migrations' | ./script/dbconsole)
a workaround for this is:
(cd /var/hda/platform/html && rake db:migrate RAILS_ENV=production VERSION=20100125231838)
Also available in: Atom