sql - Integration of Oracle Database in a Rails Application -


i have rails application , have sql database. using oracle sql developer manage it. question how integrate these 2 can display database data?

this big subject, major steps can think of are:

  1. for each table in database want include in rail app, define model class inherits activerecord::base
  2. if database not respect rails conventions regard naming have provide class methods in each model define primary key column , table name.
  3. you create associations in models describe joins between tables.

Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -