Rails 2.3.8 & Mongrel 1.1.5 Bug
July 25th, 2010
The response body is: “You are being redirected”. The word “redirected” is a link to the page you wish it was going to. You never actually get redirected (at least not in FF or Safari).
I read about the problem here
One of the later comments had a gist that fixed it for me.
Copy this text
Paste into an initializer: mongrel_hack.rb
Commit, redeploy, done.
Then upgrade to Unicorn. :)
Rails Redo
March 8th, 2010
My environment for Ruby & Rails development began showing signs of wear and tear. I have been unable to get rvm to work for me at all. I dream about having the wonderful abilities it can provide, like independent sandboxes for rubies & gemsets, and configurations.
So when the latest gem upgrade (1.3.6) broke my older versions of rails (pre-2.3) things started to snowball uphill, and I decided to start over.
Read the rest of this entryRails, Money, Float, Decimal
November 17th, 2009
The problems of using floats to represent monetary values have been well discussed elsewhere. So it sufficeth me to say, “do not ever do it”. Now if you are confronted with this haunting bit of code (written by someone else, of course), and want to correct the elusive $35.000000000000000001 you are charging people then I have good news! It can be done, but the road is not paved. These are the four biggest bumps I’ve run into. They might apply to other styles of AR stores, but these tips are from my experiences with MySQL.
Read the rest of this entryUnpack your unruly gems!
November 13th, 2009
Unpacking Gems doesn’t always work in some projects for various annoying reasons.
So this is just my hammer for the nail.
Read the rest of this entryMy Cherub
November 4th, 2009
My little cherub of a daughter turned one year old just three weeks ago. She also has a congenital heart disease called tetralogy of fallot. Two days ago we were went down to Riley Children’s Hospital and had her heart tested. When we met with the doctor afterwards we learned the unsettling news that she would need another open heart surgery, and that it would need to be soon. She has been taking a beta blocker to calm her heart down, and we were hoping that it would slow the growth of the muscle, and lower the pressure at the pulmonary artery, because it was four times what is healthy. Instead it is now eight times what is healthy. That might explain why she turned blue-purlpe, for a few minutes, two weeks ago. It might also have been a factor in the seizure she appeared to have last week. So on Earl’s birthday she will be having her second open heart surgery. This has been a difficult trial for my wife and I. I know that God is in control, and I put my faith in him, and his will for us.
Contact
October 12th, 2009
My cell is the best way to get a hold of me.
- FaceBook: http://www.facebook.com/peter.boling
- GitHub: http://github.com/pboling/
- Twitter: http://twitter.com/galtzo
- cell: 765-760-2012
- email: peter.boling@peterboling.com
- AIM: djpeteplzdance
- jabber: peter.boling@gmail.com
- skype: peter.boling
- lang: English, Spanish, Portuguese
Portfolio
October 12th, 2009
I work on Neighborino.com, which is a neighborhood socialization, HOA management, and communication tool. My relationship with Neighborino is a profit sharing model, so the cost to them is minimal as they are in the launch phase. Check out the demo site to see a functioning HOA website.
As a software engineer for the State of Indiana Legislative Services Agency I worked on:As a partner at Sagebit.com I was a major part of developing the following sites:
- A Small World
- Timeperks
- Radio Bookmark
- Carta Buzz
- Monkey Stub
- Sagebit.com
- Yeti Mail (Currently Offline)
- Team Clip (Currently Offline)
I have worked on several other sites that I am unable to name publicly.