Changeset 80731
- Timestamp:
- 07/16/11 08:31:09 (4 years ago)
- Location:
- branches/gsoc11-statistics/stats-server
- Files:
-
- 2 added
- 4 edited
-
app/controllers/submissions_controller.rb (modified) (1 diff)
-
app/views/installed_ports/index.html.erb (modified) (2 diffs)
-
app/views/installed_ports/show.html.erb (modified) (1 diff)
-
db/migrate/20110716021749_add_user_id_to_installed_ports.rb (added)
-
db/migrate/20110716021834_remove_uuid_from_installed_ports.rb (added)
-
db/schema.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gsoc11-statistics/stats-server/app/controllers/submissions_controller.rb
r80570 r80731 59 59 end 60 60 61 def add_port(u uid, macports_port, installed_port, month, year)61 def add_port(user_id, macports_port, installed_port, month, year) 62 62 logger.debug {"Adding installed port #{installed_port['name']}"} 63 63 64 portEntry = InstalledPort.new(:u uid => uuid,64 portEntry = InstalledPort.new(:user_id => user_id, 65 65 :port_id => macports_port.id, 66 66 :version => installed_port['version'], -
branches/gsoc11-statistics/stats-server/app/views/installed_ports/index.html.erb
r80511 r80731 4 4 <tr> 5 5 <th> ID </th> 6 <th> UUID</th>6 <th> user_id </th> 7 7 <th> Port ID </th> 8 8 <th> Version </th> … … 16 16 <tr> 17 17 <td> <%= row.id %> </td> 18 <td> <%= row.u uid %> </td>18 <td> <%= row.user_id %> </td> 19 19 <td> <%= row.port_id %> </td> 20 20 <td> <%= row.version %></td> -
branches/gsoc11-statistics/stats-server/app/views/installed_ports/show.html.erb
r80511 r80731 1 MY STUFF :D 1 Todo: Remove or implement -
branches/gsoc11-statistics/stats-server/db/schema.rb
r80567 r80731 11 11 # It's strongly recommended to check this file into your version control system. 12 12 13 ActiveRecord::Schema.define(:version => 2011071 4162815) do13 ActiveRecord::Schema.define(:version => 20110716021834) do 14 14 15 15 create_table "categories", :force => true do |t| … … 20 20 21 21 create_table "installed_ports", :force => true do |t| 22 t.string "uuid"23 22 t.integer "port_id" 24 23 t.string "version" … … 28 27 t.datetime "created_at" 29 28 t.datetime "updated_at" 29 t.integer "user_id" 30 30 end 31 31
Note: See TracChangeset
for help on using the changeset viewer.

