- Posted on Dec 20 2007 12:56
- Austins-Web, 3.0
Welcome friends, family, and random internet wanderers. From the dark deep depths of the hiatus, I present to you Austins-Web 3.0. The new Austins-Web is the very first Austins-Web built on the ruby on rails framework. The 3.0 update includes:
- 1:1 Test Code Coverage
- New Portfolio Design
- openID authentication support
- All the old blog entries from Austins-Web 2.0 and 1.0
- New commenting system
- Posted on Dec 21 2007 08:55
- about me, 3.0, Austins-Web, openID
If you look in the upper right hand corner you will see a new section the About Me section which is kinda of self-explanatory. Enjoy the quick and fun write-up of the about me.
I forgot to mention last time that with 3.0 I lost all my tags from previous versions of Austins-Web. Also to be note-worth everyone lost their accounts. The only reason being is that I wasn't MD5ing your passwords, I was doing some funky ass PHP only hashing. I couldn't get back everyone's passwords so I decided to simply re-create the profiling and adding profile pictures. With 3.0, I salt everyone's password with a hash so rest assured your password is more than safe with me.
With loosing everyone's account, I made it up by supporting openID authentication. Please register, login and comment your way to blissful happiness.
As far as new content goes, I am committing myself to updates every wednesday. So check back every wednesday for some new austins-web content!
- Posted on Jan 02 2008 00:00
- markdown, Austins-Web
Thanks to one user cross site scripting my site and another wanting to use some sort of formatting, I added markdown support for comments. Go ahead and login or register and give it a try!
YPCMC01509:~/Projects/Blog afonacier$ rake stats
(in /Users/afonacier/Projects/Blog)
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 701 | 548 | 10 | 64 | 6 | 6 |
| Helpers | 98 | 81 | 0 | 13 | 0 | 4 |
| Models | 195 | 149 | 6 | 26 | 4 | 3 |
| Libraries | 291 | 198 | 4 | 33 | 8 | 4 |
| Components | 0 | 0 | 0 | 0 | 0 | 0 |
| Integration tests | 0 | 0 | 0 | 0 | 0 | 0 |
| Functional tests | 648 | 509 | 16 | 93 | 5 | 3 |
| Unit tests | 361 | 299 | 6 | 46 | 7 | 4 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 2294 | 1784 | 42 | 275 | 6 | 4 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 976 Test LOC: 808 Code to Test Ratio: 1:0.8
- Posted on Jan 31 2008 00:00
- Austins-Web, 3.0, update, tag cloud
As I am sure you have noticed, I upgraded Austins-Web.com a bit. I put a small tag cloud to the right which will give a tag cloud based on the posts of the last 30 days. I think that features was requested by Wayne. This is just me showing you all how much I pay attention to the user base of Austins-web.
I have also placed an ad to the right side. Let's see how that works out.
I also increased test code coverage a bit so hopefully people will run into less and less bugs as this site continues to grow and increase.
If you have any questions, concerns, suggestions please sound off in the comments section of this post.
- Posted on Jul 08 2008 21:42
- Austins-Web, 3.0, cache, cookies
I finally got around to fragment cache the index page of austins-web. Everyone should finally be experiencing a hell of a lot quicker load times on the front page. Before caching mongrel was telling me that I could do about 2 requests/second on the index page. Post-caching I am getting around 70 requests/second.
Second of all, it took a long while but I finally got around to upgrading the the restful-authentication plugin which allows for cookies authentication to work. Apparently they weren't working since the inception of the site. Also I got around to switching all the profile pictures to attachment_fu instead of my own created attachment thing. At the same time I moved a lot of code around to conform to the skinny control, fat model paradigm.
Update: I broke the xml feed apparently. Why are my tests still passing?
Update2: Fixed and tested properly.
Austins-Web was down for 8 hours last night. I am sure some of you were wondering what the hell was going on. Realistically, probably no one was wondering. Either way I am going to bore you with the details.
I use mod_rails as my web server on dreamhost. Dreamhost upgrading their rails version to 2.2.2 and Austins-Web uses 2.0.2. For whatever reason mod_rails doesn't use the rails installed on ~/.gems directory (So it never saw 2.0.2). I had to freeze 2.0.2 in my vendor directory to override the 2.2.2 in the ~/.gems directory. I also had to update rails by running rake rails:update.
Lesson learned from all this?
- Always freeze rails especially if you are on a shared hosting environment.
- Read blogs about people having similar disasters. It helps. Also: write blogs on lessons you have learned to help people out.
- Whenever you upgrade rails. Run the rake task to upgrade the boot files and rails initializers. (rake rails:update).
- Posted on Jun 04 2009 12:54
- Austins-Web, 3.0, mobile, iphone
It's been awhile since I have updated the Austins-Web code base. One major thing that I did was switch over the code base to rails 2.2.2. This should allow me to use some of the newer feature of rails that I have been missing back when my code base was on rails 2.0.2 and also you guys the end user should have an overall quicker experience on this website.
I finally got around to fixing my portfolio and updating it with a few more recent project. Click on the portfolio button up on top to go over there.
For those that have been wanting to use search on the site have been greeting to a 500 page or also known as the "Austin you screwed up page". I re-enabled ferret search. So you can search to your hearts content.
All blackberry and windows mobile users can finally get a mobile version of Austins-Web directly to your handset. If you have one of these phone, you just have to go to Austins-Web.com to view the snazzy new version.
One more thing, I added a snazzy iphone version of the site. If you are on an iphone, simply go to austins-web.com to view the iphone version of the site. I built the site on my branch of tank-engine on github.

- Posted on Sep 25 2009 12:10
- Austins-Web, rails
Austins-web has been upgraded to use rails 2.3.4. Nothing should change from a user perspective. In fact, this post was more or less useless sorry.