• About
  • Contact

Dagny's Desk

Dagny's Desk

Category Archives: Ruby On Rails

Moved my Ruby on Rails App to OCS Solutions

23 Sunday Nov 2008

Posted by Dagny Gromer in programming, Ruby On Rails

≈ Leave a comment

Tags

programming, Ruby On Rails

After spending about half my weekend working on this, I got my Ruby on Rails application moved from Planet Argon to OCS Solutions. In the process, I updated it to work with RoR v. 2.1.2 My former hosting company “fired” me as a customer earlier.

I wanted to try using mod_ruby a.k.a. Passenger, but I when I first configured my OCS account I took a path that precluded this. When I have some time, I’ll reconfigure my OCS account. But not this weekend đŸ™‚

I also discovered a nice, and free, IDE to work with Ruby and Rails, NetBeans. It is far more mature product today than when I last looked at it a few years back. I also looked at RadRails but I like NetBeans much better. I’m not an Eclipse fan, RadRails is based on Eclipse.

Advertisement

My Ruby on Rails Web Host is Firing Me as a Customer

09 Sunday Nov 2008

Posted by Dagny Gromer in programming, Ruby On Rails

≈ 3 Comments

Tags

programming, Ruby On Rails

Not because of nonpayment or anything like that. PlanetArgon is no longer selling shared hosting services for Ruby on Rails (RoR) applications. Shared hosting works fine for the low volume Rails application I have, ActionShootingScores.com. They’re selling a higher end solution that I don’t need, nor want to pay for. Too bad, I was very happy with their service.

The issue for me, other than finding a new host, I developed my RoR application 2 years ago and the the framework has evolved since then. I have not had to do any maintenance on the program (because I did such a fine job writing it?) since 2006. So, I have to get it on the current framework before I can move it to a new host.

My MacBookPro came from Apple with Ruby, gems, and even the rails framework preinstalled. If you have OS X Leopard you have all this too. Bet most don’t know that, or even care. I installed MySQL on my mac when I first got it, so I thought I was ready to go.

Well, no. The preinstalled stuff was really old. Of course, the computer is about a year old. The trick to getting Rails going was the following commands in terminal:

sudo gem update –system

(not the above should have 2 minus signs, wordpress seems not to like this)

sudo gem update rake

sudo gem install rails

I was missing the first one, which needed to be run first. Now I can run the RoR samples. I tried my existing code with RoR 2.1.3 and got a bunch of errors. Guess I have a bit of work to do. At least I have some time before this becomes critical.

Some new programming books …

16 Wednesday May 2007

Posted by Dagny Gromer in Computers, programming, Ruby On Rails

≈ Leave a comment

I’m reading: “Ajax on Rails” by Scott Raymond (O’Reilly) and “Prototype and script.aculo.us” by Christophe Porteneuve (Pragmatic Programmers).  These are very closely related  – Prototype and script.aculo.us are the ajax and html dom manipulation libraries that Ruby on Rails uses.

So far I have spent more time with Ajax on Rails. It’s very well written and I have learned much.  Prototype and script.aculo.us is a beta book – it’s a work in progress. I’ve bought beta books from Pragmatic Programmers before, they notify you when there is an update and you just download a new pdf file.

New Tidy XHTML Validator

29 Thursday Mar 2007

Posted by Dagny Gromer in ActionShootingScores.com, Ruby On Rails, Site News

≈ Leave a comment

Using an updated, and much improved, Tidy plug in for Firefox, I revised the xhtml in my ActionShootingScores Ruby on Rails application. Now the xhtml passes the Tidy validator (which it did before) and the new dtd validator which works the same way as the wc3 validator.

I’ll be moving the revised code to the production site this weekend.  [Friday 3/30] Done!

Added Page Caching to ActionShootingScores

02 Friday Mar 2007

Posted by Dagny Gromer in ActionShootingScores.com, Ruby On Rails, Site News

≈ Leave a comment

Today I added page caching to my Ruby on Rails application, ActionShootingScores for IDPA matches. This should significantly speed up viewing of match results. I handle expiring the cached pages this way: When a match is being edited, it goes into an unpublished state. After the match director is happy with it, he or she publishes it. On both of these state transitions the pages associated with the match get expire_page() called for them. Also if a match is deleted it’s pages get expired.

Later, I’ll add this to the other match types.

← Older posts

Pages

  • About
  • Contact

Recent Posts

  • Acorn woodpeckers
  • Abert’s squirrel
  • Male western bluebird
  • Our dogs at the park
  • Northern harrier

Recent Comments

Dagny Gromer on Anya RIP
rachelmankowitz on Anya RIP
Dagny Gromer on macOS Monterey
Dagny Gromer on Arizona is on fire!
Ric on Arizona is on fire!
RSS  Subscribe

Flickr Photos

aberts_squirrel-20230126-102acorn_woodpecker-20230126-102acorn_woodpecker-20230126-100
More Photos
January 2023
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031  
« Dec    

Archives

Posts by Category

Dagny on Twitter

My Tweets

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Dagny's Desk
    • Join 638 other followers
    • Already have a WordPress.com account? Log in now.
    • Dagny's Desk
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar