I am very new to rails, and from what I read and looked at in textbooks, it only helps me to create things from scratch, while creating new databases and models.
my company has a project management software system in the field of accounting and construction, which was recently stored in ms sql server.
how will I build models from the existing table structure. they do not need to remove updates. im looking for creating a remote web query tool.
thank.
Rails SQL- - , ..
, , , , , Rails. Project, Rails , projects ( ). Project, :
Project
projects
class Project < ActiveRecord::Base set_table_name "project" end
, project_id, id, :
project_id
id
class Project < ActiveRecord::Base primary_key = 'project_id' end
SQL- .
Source: https://habr.com/ru/post/1751877/More articles:Error passing * as shell argument in C - cDynamicJasper: how to delete a line when empty - javaCan I change the Android style in ListView style without creating a custom list? - androidiOS4: Fix SDK settings and deployment targets in Xcode - iphoneВыдержка из массива Php с использованием условий - arraysInputBox Cancel - vb6Django for a simple web application - pythonFind all C ++ type X objects on the heap using WinDbg - windbgScala / Elevator: configure hotdeploy via Eclipse? - eclipseJQuery speed: which one is faster, {ul # parent li} or {li.child}? - jqueryAll Articles