{"id":366,"date":"2011-05-22T19:35:21","date_gmt":"2011-05-23T00:35:21","guid":{"rendered":"https:\/\/1fifoto.com\/weblog\/?p=366"},"modified":"2011-05-22T19:41:09","modified_gmt":"2011-05-23T00:41:09","slug":"first-demo-ruby-on-rails-application","status":"publish","type":"post","link":"https:\/\/1fifoto.com\/weblog\/2011\/05\/first-demo-ruby-on-rails-application\/","title":{"rendered":"First &#8216;demo&#8217; Ruby on Rails application"},"content":{"rendered":"<p>Today using the book, I followed along in chapter 2 and got the first &#8216;demo&#8217; application working. I even did all of the extras at the end of the chapter &#8211; woohoo. To start I created an empty Eclipse Ruby project named &#8216;demo&#8217; (this was not in the book, but was a good guess). Next I used the command line for the generation of the basic application &#8216;cd &lt;my-workspace&gt;; rails new demo&#8217;. Note: my first generation attempt was in the demo directory which created a sub-directory named demo &#8211; oops, needed to move up one directory.  My second attempt was in the workspace directory and that worked and didn&#8217;t clobber any of the other Eclipse projects in the workspace. Then, as requested, I started the internal server on the command line: &#8216;rails server&#8217;. Finally I used Eclipse for the navigation and editing of the files (again this was not in the book, but worked quite well for me) and I used my browser to access the web application (as directed). All seemed to go smoothly which was encouraging. I ended by reading chapters 3 and 4 about the architecture of Rails application, and an introduction to the Ruby language. The former was obvious stuff for me, but the latter was a bit of detail that I&#8217;ll probably have to refer back to. So I&#8217;m doing it. Slow, but sure. Now on to their meatier application or so they say.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today using the book, I followed along in chapter 2 and got the first &#8216;demo&#8217; application working. I even did all of the extras at the end of the chapter &#8211; woohoo. To start I created an empty Eclipse Ruby project named &#8216;demo&#8217; (this was not in the book, but was a good guess). Next [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/posts\/366"}],"collection":[{"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/comments?post=366"}],"version-history":[{"count":0,"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/posts\/366\/revisions"}],"wp:attachment":[{"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/media?parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/categories?post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1fifoto.com\/weblog\/wp-json\/wp\/v2\/tags?post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}