Archive for June 2008

Solution to ActionController::MethodNotAllowed (Only get, put, and delete requests are allowed.)

I was having problems with a nested resource….
route.rb

map.resource :accounts do |account|
account.resources :contacts
end

contacts/new.html.erb

..

I was getting
ActionController::MethodNotAllowed (Only get, put, and delete requests are allowed.)
fun. I tried a lot of things, I googled it, and didn’t quite find the solution….. After a good 30 minutes, the solution appeared below,

account_contacts_path(@account) do |f| %>

Good luck!

BNP to acquire division of B & A

In a grad school class, I did an analysis of the European banks. This was a few years ago, but a firm that caught my eye: BNP Paribas (EUR:BNP). The former state owned bank turned powerhouse due to its acquisition of investment boutique Paribas in 2000, looked to be the bank to bet [...]

Full Court Press: The Greenback

It’s not Kobe or Garnett that’s getting the full court press, it’s the USD! Funny, both Bernacke and Bush are spouting off about a strong dollar policy. Hmmmm, let me see here, our fiscal discipline is as much of a joke as our monetary discipline. The rise in oil is yet another [...]