<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3586977343734047442</id><updated>2024-09-21T12:23:34.048-07:00</updated><title type='text'>World of Ruby On Rails(RoR) &amp;amp; Database issues</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sumantadas-ror-db.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3586977343734047442/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sumantadas-ror-db.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sumanta Das</name><uri>http://www.blogger.com/profile/02865114672938681075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnEmsoP1fBvZ5Ght4iCDvEVVnNiqMQs3gnbIiXbM7hTY1fwKCp2UVfIH7-mOS8aTj02iWBITUpWYIMInARHqpMf-QAwVf95xMQ-KuedkKjd5bUDjSS2Bf9ES5iuW2EIA/s220/sumanta-da.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3586977343734047442.post-7173793832130696440</id><published>2012-04-28T08:20:00.000-07:00</published><updated>2012-04-28T08:20:21.818-07:00</updated><title type='text'>What is Rails or about Rails</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ok... I guess now you are ok with &amp;nbsp;Ruby(I will give more details on Ruby, but I want to go&amp;nbsp;parallel with Rails so that you people can have good experience) and want to go&amp;nbsp;ahead&amp;nbsp;with Rails... Why Rails??? Because Ruby On Rails(RoR) is more famous because of web application and for that you need to know the heart of it YES it is RAILS. &lt;u&gt;Rails is actually a framework,&lt;/u&gt;&amp;nbsp;which is written in Ruby language&amp;nbsp;created &amp;nbsp;by David Heinemeier Hansson- from his work on Basecamp(a project management tool)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Few things which Rails follows -&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. DRY -&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;color: #333333; font-size: 14px; line-height: 21px;&quot;&gt;D&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;on’t &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-size: 14px; line-height: 21px;&quot;&gt;R&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;epeat &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-size: 14px; line-height: 21px;&quot;&gt;Y&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;ourself - code should not be repeated - which inspires us for&amp;nbsp;modular-ism.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;2. Convention over configuration - Rails makes the assumption about your requirement and process rather than specifying each thing.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;3. REST is the best&amp;nbsp;architecture for web application.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;Now if you want to know Rails more you have to know three things&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;A. about MVC structure.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;B. Components of Rails&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;C. REST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;b&gt;A. What is MVC?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Rails follow this Model, View, Controller architecture, usually just called&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;MVC&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp; Through this model&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;1. we can isolate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;business logic from the user interface,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;2. helps to keep code dry &amp;amp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;3. helps for&amp;nbsp;maintenance for different types of code.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;A &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-size: 14px; line-height: 21px;&quot;&gt;model&lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp;generally&amp;nbsp;&lt;u&gt;handles all the database related and&amp;nbsp;business logic related issues/code&lt;/u&gt;. Normally Most of the code is being written here for applications. It is the HEART of MVC&amp;nbsp;architecture.&amp;nbsp;Model &lt;u&gt;takes request from controller &amp;amp; after executing that request sends back the control to controller&lt;/u&gt;. It represent the information/data of the application and the rules to manipulate that data. Its &lt;u&gt;main task is to manage the rules of interaction with a corresponding database&lt;/u&gt; table. Each table in your database will correspond to one model in your application(though we can customize it). The bulk of your application’s business logic will be concentrated in the models.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 14px; line-height: 21px;&quot;&gt;In the case of Rails, &lt;u&gt;tables names comes with plural form of model name&lt;/u&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Views &lt;/b&gt;are the&lt;u&gt; user interface of the application&lt;/u&gt;. In Rails, &lt;u&gt;views are often&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;files with embedded Ruby code &lt;/u&gt;that perform tasks related solely to the presentation of the data. Views &lt;u&gt;handle the job of providing data to the web browser or other tool that is used to make requests from your application&lt;/u&gt;. It takes requests from user and request controller to perform the task and again render back the result to user.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Controllers&lt;/b&gt;&amp;nbsp;are the &lt;u&gt;middle man or the communicator&amp;nbsp;between models and views&lt;/u&gt;. In Rails, controllers are responsible for processing the incoming requests from views i.e the web browser, interrogating the models for data, and passing that data on to the views for presentation.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;B.Now think that Rails is a country which has so many islands &amp;nbsp;i.e components.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;The islands of Rails are&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 1.5em; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: 0% 0.5em; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Action Pack(&lt;/span&gt;&lt;span style=&quot;background-color: initial; font-family: Verdana, sans-serif;&quot;&gt;Action Controller +&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: initial; font-family: Verdana, sans-serif;&quot;&gt;Action Dispatch +&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: initial; font-family: Verdana, sans-serif;&quot;&gt;Action View)&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: 0% 0.5em; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Action Mailer&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: 0% 0.5em; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Active Model&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: 0% 0.5em; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Active Record&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: 0% 0.5em; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Active Resource&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: 0% 0.5em; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;6.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Active Support&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: 0% 0.5em; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;7.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: initial; color: #333333; font-family: Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Railties&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;C.&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;REST&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 1.5em; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://guides.rubyonrails.org/images/grey_bullet.gif); background-origin: initial; background-position: 0% 0.5em; background-repeat: no-repeat no-repeat; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Using resource identifiers such as URLs to represent resources.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 1.5em; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://guides.rubyonrails.org/images/grey_bullet.gif); background-origin: initial; background-position: 0% 0.5em; background-repeat: no-repeat no-repeat; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Transferring representations of the state of that resource between system components.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is a brief about Rails components:-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A single gem &quot;Action Pack&quot; contains Action Controller, Action View and Action Dispatch. The &#39;View-Controller&#39; part of &#39;Model-View-Controller&#39;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In Rails application(app.) &lt;b&gt;Action Controller &lt;/b&gt;&lt;u&gt;manages the controllers&lt;/u&gt;. It is a framework which &lt;u&gt;processes incoming requests to app., extracts parameters, and dispatches them to the intended action. Its main task is to session management, template rendering, and redirect management&lt;/u&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Action View&lt;/b&gt; manages the user interface/views of the app. It can create both&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;HTML&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;XML&lt;/span&gt;&amp;nbsp;output by default. Its &lt;u&gt;main task is rendering templates, including nested and partial templates, and also built-in&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;AJAX&lt;/span&gt;&amp;nbsp;support.&lt;/u&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Action Dispatch&lt;/b&gt; &lt;u&gt;manages routing&lt;/u&gt; of web requests and &lt;u&gt;dispatches&lt;/u&gt; them as your requirement, it can be done for both/either to your application or any other Rack application.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Action Mailer&lt;/b&gt;&amp;nbsp;framework &lt;u&gt;provides us e-mail services&lt;/u&gt;. To receive and process incoming email and send simple plain text or complex multipart emails based on flexible templates - we use it.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Active Model &lt;/b&gt;is the key &lt;u&gt;to define interface between the Action Pack gem services and Object Relationship Mapping(ORM) gems&lt;/u&gt; like Active Record. You &lt;u&gt;also can utilize other&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;ORM&lt;/span&gt;frameworks in place of Active Record&lt;/u&gt; if your application needs this via active model.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Active Record&lt;/b&gt; is the heart for the models in a Rails application.&lt;u&gt; It gives us database independence, basic&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;CRUD&lt;/span&gt;&amp;nbsp;functionality, advanced finding capabilities, and the ability to relate models to one another&lt;/u&gt;, among other services.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Active Resource&lt;/b&gt;&amp;nbsp;framework &lt;u&gt;to managing the connection between business objects and RESTful web services&lt;/u&gt;. It implements a way to map web-based resources to local objects with&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;CRUD&lt;/span&gt;semantics.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Active Support &lt;/b&gt;is an &lt;u&gt;huge collection of utility classes and standard Ruby library extensions that are used in Rails, &lt;/u&gt;both by the core code and by your applications.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Railties &lt;/b&gt;is the &lt;u&gt;core Rails code that builds new Rails applications and communicate among the various frameworks and plugins&lt;/u&gt; together in any Rails application.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;REST&lt;/b&gt; stands for &lt;u&gt;&lt;b&gt;Re&lt;/b&gt;presentational &lt;b&gt;S&lt;/b&gt;tate &lt;b&gt;T&lt;/b&gt;ransfer and is the foundation of the RESTful architecture&lt;/u&gt;. We got it from Roy Fielding’s doctoral thesis, which comes&amp;nbsp;to two main principles:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For example, the following&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;HTTP&lt;/span&gt;&amp;nbsp;request:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;tt style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1em; line-height: 1.5; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;UPDATE/books/58&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-size: 14px; line-height: 21px; margin-bottom: 1.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;would be understood to refer to a book resource with the ID of 58, and to indicate a desired action – updating that resource.&amp;nbsp;&lt;span class=&quot;caps&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;REST&lt;/span&gt;&amp;nbsp;is a natural style for the architecture of web applications, and Rails provides this shielding to you from many of the RESTful complexities and browser quirks.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Thanks to(official sites of...) =&amp;gt; Ruby guide &amp;amp; Rails Casts &amp;amp; Ruby About &amp;amp; Wikipedia And RubyOnRails&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sumantadas-ror-db.blogspot.com/feeds/7173793832130696440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sumantadas-ror-db.blogspot.com/2012/04/what-is-rails-or-about-rails.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3586977343734047442/posts/default/7173793832130696440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3586977343734047442/posts/default/7173793832130696440'/><link rel='alternate' type='text/html' href='http://sumantadas-ror-db.blogspot.com/2012/04/what-is-rails-or-about-rails.html' title='What is Rails or about Rails'/><author><name>Sumanta Das</name><uri>http://www.blogger.com/profile/02865114672938681075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnEmsoP1fBvZ5Ght4iCDvEVVnNiqMQs3gnbIiXbM7hTY1fwKCp2UVfIH7-mOS8aTj02iWBITUpWYIMInARHqpMf-QAwVf95xMQ-KuedkKjd5bUDjSS2Bf9ES5iuW2EIA/s220/sumanta-da.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3586977343734047442.post-4416591752571929497</id><published>2012-04-22T14:08:00.000-07:00</published><updated>2012-04-22T14:10:32.889-07:00</updated><title type='text'>What is Ruby language? Or about Ruby Or Ruby Features...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ruby is a scripting language created by&amp;nbsp;Yukihiro “matz” Matsumoto(Japanese) in 1993, inspired from&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;Perl, Smalltalk, Eiffel, Ada, and Lisp. Almost all of the good things from above&amp;nbsp;mentioned&amp;nbsp;languages are present here to minimize the effort of coding and also to reduce&amp;nbsp;frustration.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;Some features of Ruby(about Ruby):&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;1.&lt;/b&gt; Its a pure &lt;u&gt;object oriented&lt;/u&gt;&amp;nbsp;language&amp;nbsp;with almost 45 keywords - &amp;nbsp;what ever you will write/see in ruby code is an object &lt;b&gt;&lt;u&gt;&lt;i&gt;except&lt;/i&gt;&lt;/u&gt;&lt;/b&gt; argument list(whenever you are passing parameters) and control flow syntax like if, rescue, begin, end, class, alias etc.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;2.&lt;/b&gt; It does not support&amp;nbsp;multiple inheritance, but gave us &#39;&lt;i&gt;&lt;u&gt;MIXIN&lt;/u&gt;&lt;/i&gt;&#39; - to include modules in classes, then we can access any of the methods of the said module.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;3.&lt;/b&gt; Its a&lt;u&gt; portable, cross&amp;nbsp;platform &amp;amp; interpreted&lt;/u&gt; language.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;4.&lt;/b&gt; &amp;nbsp;Its &lt;u&gt;flexible&lt;/u&gt; - as it is open source we can redefine it as our own interest. In terms of coding also its provides us a high level flexibility - we can extend a class even it could be a basic method/class(Ex we can redefine integer or string) which we can alter or can add our own lines of code through &lt;u&gt;&#39;&lt;i&gt;block&lt;/i&gt;&lt;/u&gt;&#39; we can add closure to any methods we have defined previously(classes are open).&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;5.&lt;/b&gt; We can write multiple lines of code in a single line with statement delimiters and gives us open ground to write our code as we wish &lt;u&gt;in our own format&lt;/u&gt; (no need to start from a specific line/column like few other languages) but it &lt;u&gt;case sensitive&lt;/u&gt;.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;line-height: 20px;&quot;&gt;6.&lt;/b&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&amp;nbsp;Its gives a&amp;nbsp;excellent&amp;nbsp;way to &lt;u&gt;&lt;i&gt;error handling&lt;/i&gt;&lt;/u&gt; like java and has its own &lt;u&gt;&lt;i&gt;garbage collection&lt;/i&gt;&lt;/u&gt; which is maintained automatically- though we can do it manually too.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;line-height: 20px;&quot;&gt;7.&lt;/b&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt; Another very important thing is Ruby provides a &lt;u&gt;&lt;i&gt;OS independent&amp;nbsp;threading&lt;/i&gt;&lt;/u&gt;&amp;nbsp;even if the OS does not support threading still Ruby can handle it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;8.&lt;/b&gt; &lt;u&gt;&lt;i&gt;Untyped&lt;/i&gt;&lt;/u&gt; or loosely typed - we don&#39;t need to declare any variable type but can store any value directly.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;9.&lt;/b&gt;&amp;nbsp;A&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;ccess modifier continues until the end of the scope, or until another access modifier pops up, whichever comes first. By default, methods are public. In&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;Ruby,&lt;/span&gt;&lt;code style=&quot;line-height: 20px;&quot;&gt;&lt;i&gt;&lt;u&gt;public&lt;/u&gt;&lt;/i&gt;&lt;/code&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;is, naturally, public.&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;line-height: 20px;&quot;&gt;&lt;i&gt;&lt;u&gt;private&lt;/u&gt;&lt;/i&gt;&lt;/code&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;means the method(s) are accessible only when they can be called without an explicit receiver. Only&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;line-height: 20px;&quot;&gt;self&lt;/strong&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;is allowed to be the receiver of a private method call.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;code style=&quot;background-color: white; line-height: 20px;&quot;&gt;&lt;i&gt;&lt;u&gt;protected&lt;/u&gt;&lt;/i&gt;&lt;/code&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&amp;nbsp;is the one to be on the lookout for. A protected method can be called from a class or descendant class instances, but also with another instance as its receiver.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&lt;b&gt;10.&lt;/b&gt; Its gave us &lt;i&gt;&lt;u&gt;singleton&lt;/u&gt;&lt;/i&gt; method and a special method for &lt;i style=&quot;text-decoration: underline;&quot;&gt;missing method&lt;/i&gt;&amp;nbsp;named&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&lt;b&gt;method_missing&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;11.&lt;/b&gt; A method call is like a message passing than function calling.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;12.&lt;/b&gt; And lastly &lt;/span&gt;&lt;b style=&quot;line-height: 20px;&quot;&gt;IT IS FREE&lt;/b&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&amp;nbsp;yes... it is free so no extra&amp;nbsp;licensing cost is there.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;These are gist only. If you have any&amp;nbsp;quarries or any doubt feel free to post.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;Please also post your quarries here... it is not&amp;nbsp;mandatory to be&amp;nbsp;related to above topics. :) :p ....&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sumantadas-ror-db.blogspot.com/feeds/4416591752571929497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sumantadas-ror-db.blogspot.com/2012/04/what-is-ruby-language-or-about-ruby.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3586977343734047442/posts/default/4416591752571929497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3586977343734047442/posts/default/4416591752571929497'/><link rel='alternate' type='text/html' href='http://sumantadas-ror-db.blogspot.com/2012/04/what-is-ruby-language-or-about-ruby.html' title='What is Ruby language? Or about Ruby Or Ruby Features...'/><author><name>Sumanta Das</name><uri>http://www.blogger.com/profile/02865114672938681075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnEmsoP1fBvZ5Ght4iCDvEVVnNiqMQs3gnbIiXbM7hTY1fwKCp2UVfIH7-mOS8aTj02iWBITUpWYIMInARHqpMf-QAwVf95xMQ-KuedkKjd5bUDjSS2Bf9ES5iuW2EIA/s220/sumanta-da.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3586977343734047442.post-1560476090984772749</id><published>2012-04-18T13:58:00.000-07:00</published><updated>2012-04-18T14:07:26.554-07:00</updated><title type='text'>10 most important site for any RoR professional</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I thought to start blogging with some pattern, but then I thought I should dedicate my first blog post to those from where I started learning.... Here is the list of sites from where anybody can find out the most appropriate solutions/answer for Ruby On Rails problems&lt;br /&gt;
1.&amp;nbsp;&lt;a href=&quot;http://guides.rubyonrails.org/&quot;&gt;http://guides.rubyonrails.org/&lt;/a&gt;&lt;br /&gt;
2.&amp;nbsp;&lt;a href=&quot;http://www.ruby-lang.org/en/&quot;&gt;http://www.ruby-lang.org/en/&lt;/a&gt;
&lt;br /&gt;
3.&amp;nbsp;&lt;a href=&quot;http://www.rubyist.net/~slagell/ruby/index.html&quot;&gt;http://www.rubyist.net/~slagell/ruby/index.html&lt;/a&gt;&lt;br /&gt;
4.&amp;nbsp;&lt;a href=&quot;http://www.ruby-doc.org/docs&quot;&gt;http://www.ruby-doc.org/docs&lt;/a&gt;.&lt;br /&gt;
5.&amp;nbsp;&lt;a href=&quot;http://api.rubyonrails.org/&quot;&gt;http://api.rubyonrails.org/&lt;/a&gt;&lt;br /&gt;
6. www.&lt;b style=&quot;background-color: white; color: #009933; font-family: arial, sans-serif; font-size: small; line-height: 15px; text-align: -webkit-auto;&quot;&gt;railscasts&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #009933; font-family: arial, sans-serif; font-size: x-small; line-height: 15px; text-align: -webkit-auto;&quot;&gt;.com/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #009933; font-family: arial, sans-serif; font-size: x-small; line-height: 15px; text-align: -webkit-auto;&quot;&gt;7. www.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #009933; font-family: arial, sans-serif; font-size: x-small; line-height: 15px; text-align: -webkit-auto;&quot;&gt;github.com&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #009933; font-family: arial, sans-serif; font-size: x-small; line-height: 15px; text-align: -webkit-auto;&quot;&gt;8.&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://rubyforge.org/&quot;&gt;http://rubyforge.org/&lt;/a&gt;&lt;br /&gt;
9.&amp;nbsp;&lt;a href=&quot;http://rubygems.org/gems/rubyforge&quot;&gt;http://rubygems.org/gems/rubyforge&lt;/a&gt;&lt;br /&gt;
10.&amp;nbsp;&lt;a href=&quot;http://beginrescueend.com/&quot;&gt;http://beginrescueend.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
DO NOT Forget peepcode also....&lt;br /&gt;
&lt;br /&gt;
Please post your feedbacks/suggestions/questions and doubt here....&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sumantadas-ror-db.blogspot.com/feeds/1560476090984772749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sumantadas-ror-db.blogspot.com/2012/04/10-most-important-site-for-any-ror.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3586977343734047442/posts/default/1560476090984772749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3586977343734047442/posts/default/1560476090984772749'/><link rel='alternate' type='text/html' href='http://sumantadas-ror-db.blogspot.com/2012/04/10-most-important-site-for-any-ror.html' title='10 most important site for any RoR professional'/><author><name>Sumanta Das</name><uri>http://www.blogger.com/profile/02865114672938681075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnEmsoP1fBvZ5Ght4iCDvEVVnNiqMQs3gnbIiXbM7hTY1fwKCp2UVfIH7-mOS8aTj02iWBITUpWYIMInARHqpMf-QAwVf95xMQ-KuedkKjd5bUDjSS2Bf9ES5iuW2EIA/s220/sumanta-da.jpg'/></author><thr:total>0</thr:total></entry></feed>