Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
apprentice1988 committed Oct 24, 2015
1 parent cfff923 commit ed9a5ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/mock_data.rake
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ namespace :db do
end

task add_location_info: :environment do
Project.find(address: '昙华林').update_attributes(location: '武昌区昙华林三义村特1号')
Project.find(address: '青年大教堂').update_attributes(location: '武汉光谷世界城意大利风情街')
Project.find(address: '红楼').update_attributes(location: '武汉市武昌区武珞路1号')
Project.find_by(address: '昙华林').update_attributes(location: '武昌区昙华林三义村特1号')
Project.find_by(address: '青年大教堂').update_attributes(location: '武汉光谷世界城意大利风情街')
Project.find_by(address: '红楼').update_attributes(location: '武汉市武昌区武珞路1号')
end
end

0 comments on commit ed9a5ae

Please sign in to comment.