This was built for UF CIS4301
This application is connected to UF's CISE Oracle
To connect, do the following:
http://www.oracle.com/technetwork/topics/linux-amd64-093390.html
cd /opt
mkdir oracle
Unzip the downloaded files into /opt/oracle
unzip /home/user/Downloads/instantclient-sql...
unzip /home/user/Downloads/instantclient-sdk...
unzip /home/user/Downloads/instantclient-basic…
ln -s libclntsh.so.12.1 libclntsh.so
ln -s libocci.so.12.1 libocci.so
export ORACLE_HOME=$(pwd)
export LD_LIBRARY_PATH=$(pwd)
https://github.com/rsim/oracle-enhanced
http://api.rubyonrails.org/classes/ActiveRecord/Result.html
default: &default
adapter: oracle_enhanced
database: orcl
host: oracle.cise.ufl.edu
username: ?
password: ?
port: 1521
<%= form_tag(root_path, :method => "get", id: "search-form") do %> <%= label_tag(:count_hispanic, "Number of Hispanics > ") %> <%= text_field_tag :count_hispanic, params[:count_hispanic], placeholder: "200" %> <br> <%= label_tag(:enrollment, "School Enrollment > ") %> <%= text_field_tag :enrollment, params[:enrollment], placeholder: "4000" %> <br> <%= submit_tag "Search" %> <% end %>
The following functionality is complete: