Thomas On Rails

Ruminations of a Daddy,Coder,Gamer,Photographer


|About Me|Projects|100 Facts|

RoR = Depression On Rails

Posted by Codejoy Tue, 17 Oct 2006 13:09:00 GMT

For no reason that I can discern, my ruby on rails warholit application stopped working with flickr based links. That would be fine had I mucked with the code that parses the URL or anything, but nope I haven't touched any of that since it was first determined to be working. This is annoying for that reason, I guess I have to now unload my app from online down to my local box somehow and start playing with it (as my logging events aren't working anymore either *Shrug*). High irritating to have code stop working for no reason. I thought perhaps the flickr API changed to render my flickr.rb gem obsolete, but that would be insane to change an API and break your clients around the world. grrrrr....

Posted in , , ,  | 73 comments

Noobies first impression of his first RoR project.

Posted by Codejoy Mon, 14 Aug 2006 17:18:00 GMT

First of all, I have never done web programming before, and really never had the inclination. That all has changed with Ruby on Rails. For many reasons, first and foremost is the price of entry. It is relatively easy to get started in RoR and deployment to a webhost isn't to bad. My host is HostingRails.com. They have some sweet deals for free or near free web hosting and very helpful staff. I recomend them a great deal.

Warholit! was my first forray into Ruby on Rails. For the other newbie rails users, I would like to distribute some tips and lessons learned. (this is a lessons learned from warholit, mostly a stupid list of all the gotchas that I ran into while stepping into the Ruby on Rails waters with this project):

  • Keep your development machine and webhosc always running at the same version
  • Remember on your web host, if your application just doesnt seem to start from the web browser, try from the command prompt of your web host % >script/console
  • Something in particular this project: RMagick has two modes Q8 and Q16, if you are doing an operation on your dev machine that looks funky on the web host, double check what version you have of RMagick and find a work around for converting.
  • Multiple Applications can run on a single host usually, though you have to do funky stuff. I put this here cause i was never sure if this was true or not, it indeed ist rue and the host should help you to set that up. Typically it invovles haveing one RoR app that contains another ina subdirectory, the routes and perhaps some other stuff make setting this up difficult at times, but well worth it. I am currently running typo, and within that my RoR flickr toy "Warholit"

I would also like to take a moment to state that Typo (what powers this blog) is awesome. It's adminstrative functions are lovely and very web 2.0 :). So I guess my number one tip for those new to Ruby on Rails is first, spend some time developing simple and fun Ruby scripts. Then after that, find a great book that shows you Ruby on Rails, I hear "Ruby for Rails" is a great book (though I learned all my stuff using the "Agile web development with Rails" book (not so bad)). The biggest trouble I had when starting out was learning how to pass arguments from web page to Ruby script and back again. I will release some sourcecode to my warholit app after it has matured a bit more to demonstrate this. (I also found it quite difficult at first to figure out how to use check boxes and option boxes).

All in all I am happy with Ruby on Rails. It is a fun new way to code, and as someone who has always wanted to write web apps makes the barrier to entry very low. My biggest concern was how I was going to coax my webhost into allowing me to host multiple rails applictions (like this typo blog AND my warholit app) but with some help and some knowhow, it was a very doable thing at no extra cost. For those who have always wanted to try Web Development, I think ruby on rails is the way to go, but now I guess I am officially a biased opinion :)

Posted in , , ,  | Tags , , , ,  | 295 comments

Warhol it! V1.1

Posted by Codejoy Wed, 09 Aug 2006 20:23:41 GMT

I would like to announce Warhol It! V1.1 . It is finished! Finally, big thanks to HostingRails.com for all their help in supporting me to get it up and running on their new speedy servers. So now I can finally continue sprucing up this blog some. Have Fun!

Posted in , ,  | 88 comments

New logo

Posted by Codejoy Mon, 07 Aug 2006 23:37:00 GMT

So although warholit isn't up yet, I took some time to spiff up the site, most notably adding my own logo to this here. The wonderful people at http://www.hostingrails.com are goin to help me to figure out why warholit isn't working. So soon my pretty soon. I would like for any of those who might visit this, and used the old toy, and saw what the new one will produce (in my flickr stream), then please tell me if you want the option to do it the old way still!

Posted in  | Tags , ,  | 38 comments

Sorry...

Posted by Codejoy Sat, 05 Aug 2006 21:01:00 GMT

Well, its now saturday and I am still stumped as to what is going on. So if you found this through the flickr group Warhol it! lookin for the flickr toy, hang in there. It is coming. You can even goto http://www.thomasonrails.com/warholit/ to get a preview now, only problem is it won't send back the image (hence the problem im having is a huge one yes.). But you can see the direction the toy (and any future toys I cook up) is going.

In the meantime, perhaps i'll post a video of me like tap dancing or something...so the entertainment value remains the same. Tonight I plan on burning some midnight oil and trying to hack at it some more to get it to work.

Posted in  | Tags , , , ,  | 46 comments

Older posts: 1 ... 11 12 13 14