Created
July 23, 2017 13:48
-
-
Save Virksaabnavjot/4e87620b389039e020b46d34cf0507cf to your computer and use it in GitHub Desktop.
Useful resources
This file contains hidden or 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
Ruby on Rails Tutorial: Developing a Demonstration Application | |
https://www.youtube.com/watch?v=7Vj0u_q-iEw |
http://www.rymcmahon.com/articles/2
for searcg func
SQLite
log in by hitting rails dbconsole
.tables
PRAGMA table_info(doctors);
generating scaffold for the decorator
rails g scaffold Transfer firstname:string lastname:string firm:string cost:decimal detail:string age:integer
for printing functionality
<%= link_to "Print", '#', class: "btn btn-primary", onclick: 'window.print();return false;' %>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doctors profile
rails g scaffold doctor firstname:string lastname:string address:string user:references phone:string