{"id":1911,"date":"2013-06-22T05:19:03","date_gmt":"2013-06-21T19:19:03","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1911"},"modified":"2019-10-04T20:03:38","modified_gmt":"2019-10-04T10:03:38","slug":"ruby-on-rails-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/ruby-on-rails-primer-tutorial\/","title":{"rendered":"Ruby on Rails Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/RubyOnRails\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Ruby on Rails Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/RubyOnRails\/RubyOnRails_Primer.jpg\" title=\"Ruby on Rails Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Ruby on Rails Primer Tutorial<\/p><\/div>\n<p>Have you heard of Ruby?   Maybe you know it as Ruby Gems or Ruby on Rails?   It is a great object-oriented programming language for both desktop and web usage.<\/p>\n<blockquote><p>Ruby is a dynamic, reflective, general-purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. It was also influenced by Eiffel and Lisp.[8] Ruby was first designed and developed in the mid-1990s by Yukihiro &#8220;Matz&#8221; Matsumoto in Japan.<\/p>\n<p>Ruby supports multiple programming paradigms, including functional, object oriented and imperative. It also has a dynamic type system and automatic memory management; it is therefore similar in varying respects to Smalltalk, Python, Perl, Lisp, Dylan, and CLU.<\/p>\n<p>The standard 1.8.7 implementation is written in C, as a single-pass interpreted language. Starting with the 1.9 branch, and continuing with the current 2.0 branch, YARV has been used, and will eventually supersede the slower Ruby MRI. The language specifications for Ruby were developed by the Open Standards Promotion Center of the Information-Technology Promotion Agency (a Japanese government agency) for submission to the Japanese Industrial Standards Committee and then to the International Organization for Standardization. It was accepted as a Japanese Industrial Standard (JIS X 3017) in 2011[9] and an international standard (ISO\/IEC 30170) in 2012.[10] As of 2010, there are a number of complete or upcoming alternative implementations of Ruby, including YARV, JRuby, Rubinius, IronRuby, MacRuby (and its iOS counterpart, RubyMotion), mruby, HotRuby, Topaz and Opal. Each takes a different approach, with IronRuby, JRuby, MacRuby and Rubinius providing just-in-time compilation and MacRuby and mruby also providing ahead-of-time compilation.<\/p><\/blockquote>\n<p>My experience with Ruby is limited to a great deal of curiosity, and I can&#8217;t put my finger on whether it is growing fast in popularity or not, but imagine it is, because there are Mobile App <a target=_blank title='Ruby Mobile App' href='http:\/\/www.reverbnation.com\/omgruby\/app'>possibilities<\/a>.<\/p>\n<p>In this primer  <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/RubyOnRails\/'>tutorial<\/a> (where we assume you have installed Ruby and Ruby on Rails successfully, via <a target=_blank tit='Ruby Downloads' href='http:\/\/rubygems.org\/pages\/download'>http:\/\/rubygems.org<\/a> maybe) we see Ruby on Rails (installed on a Mac OS X laptop) open a new project called hello and start its own web server at http:\/\/localhost:3000\/ whose dynamic web files we open and adjust to show you the rudimentary Hello World.   Ruby and Ruby on Rails are extremely powerful tools and we hope to follow up with more meaningful tutorials into the future.<\/p>\n<p>Link to Ruby more information &#8230; <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Ruby_(programming_language)' title='Link to Ruby more information'>via Wikipedia, where quote above came from.<\/a>.<br \/>\nLink to Ruby download website at <a target=_blank title='Ruby download website' href='http:\/\/rubygems.org\/pages\/download'>RubyGems.org<\/a>.<br \/>\nA word of <a target=_blank title='... about town' href='https:\/\/www.youtube.com\/watch?v=TprfUdSAHgM'>warning<\/a> about geographical aspects to Ruby&#8217;s usage which, if not heeded, can have interesting <a target=_blank title='... but sooooo cuuuuuuute' href='https:\/\/www.youtube.com\/watch?v=Ww-XPbsAA7U'>results<\/a>?!\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1911' onclick='var dv=document.getElementById(\"d1911\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Ruby\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1911' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Have you heard of Ruby? Maybe you know it as Ruby Gems or Ruby on Rails? It is a great object-oriented programming language for both desktop and web usage. Ruby is a dynamic, reflective, general-purpose object-oriented programming language that combines &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/ruby-on-rails-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[558,1077,1078,1079,1319],"class_list":["post-1911","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-hello-world","tag-ruby","tag-ruby-gems","tag-ruby-on-rails","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1911"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=1911"}],"version-history":[{"count":1,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1911\/revisions"}],"predecessor-version":[{"id":46657,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1911\/revisions\/46657"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=1911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=1911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=1911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}