I use a MacBook Pro for work and pleasure on a day-to-day basis. Recently, I was asked to teach web students at a local high school. These students know html/graphics/flash/etc. The advanced students were ready for some server-side programming and database integration. I wanted the students to be able to get up and going quickly (for motivation reasons) and to create useful apps (using a database). I felt Sinatra to be a great fit for this. I created a Sinatra app for my uncle and his business. It was a joy to work with it and I was able to deploy quickly using Heroku . My experience of using Sinatra on my Mac was straightforward. Like most things using Ruby and Mac: it just worked. However, I found out the students at the high school use MS Windows. Fortunately, I have a Windows XP virtual machine running in VMWare so I could prepare that way. I used to teach computer science and web development at Spokane Community College and am aware of teaching Ruby in a Windows lab environm...
This comment has been removed by the author.
ReplyDeletenew gist for rvm. new ruby and rails3 installation
ReplyDeletehttp://gist.github.com/296055
ty!
ReplyDeleteUsing this line:-
ReplyDelete> rails g scaffold Post title:string body:text
is confusing to someone starting Rails. Post, title and body has special meaning in HTML. It would have been easier to understand if columns like Blog, Name and contents were used, instead of post, title and body.
Otherwise great introduction. Many thanks.