-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
10 changed files
with
112 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" | ||
xmlns:o="urn:schemas-microsoft-com:office:office" | ||
xmlns:x="urn:schemas-microsoft-com:office:excel" | ||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" | ||
xmlns:html="http://www.w3.org/TR/REC-html40"> | ||
<Worksheet ss:Name="conditions"> | ||
<Table> | ||
<Row> | ||
<Cell><Data ss:Type="String">System ID</Data></Cell> | ||
<Cell><Data ss:Type="String">Brief Title</Data></Cell> | ||
<Cell><Data ss:Type="String">Disease Sites</Data></Cell> | ||
<Cell><Data ss:Type="String">Last Updated</Data></Cell> | ||
</Row> | ||
<% @trials.each do |t| %> | ||
<Row> | ||
<Cell><Data ss:Type="String"><%= t.system_id %></Data></Cell> | ||
<Cell><Data ss:Type="String"><%= t.display_title %></Data></Cell> | ||
<Cell><Data ss:Type="String"><%= t.disease_sites.map { |d| "#{d.disease_site_name}" }.join('; ') %></Data></Cell> | ||
<Cell><Data ss:Type="String"><%= t.try(:updated_at).strftime('%m/%d/%Y') %></Data></Cell> | ||
</Row> | ||
<% end %> | ||
</Table> | ||
</Worksheet> | ||
</Workbook> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
db/migrate/20180126133618_add_cancer_yn_to_study_finder_trials.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddCancerYnToStudyFinderTrials < ActiveRecord::Migration | ||
def change | ||
add_column :study_finder_trials, :cancer_yn, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddPiToStudyFinderTrials < ActiveRecord::Migration | ||
def change | ||
add_column :study_finder_trials, :pi_name, :string | ||
add_column :study_finder_trials, :pi_id, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters