Archive for the ‘Technology’ Category

Lots catching up on workouts to do…. downtime….

I tried to reconfigure another app that I run on the same host, not good. I haven’t had to deal with rails app configuration and deployment for a LONG time – I’m outta practice…. As part of the Law of Unintended Consequences, my blog got a little screwed up, and I think it [...]

New domain! New theme!

I was looking for some domains for a side project, and noticed that godaddy has access to “.de” domains. My blog has always been Schadenfreunde, so I checked and sure enough, Schadenfreun.de was available! Yippee!  The old blog site,  http://weblog.techiesalumni.com now redirects to this domain.Â
I also changed blog themes… while I like the Hemingway theme [...]

Solution! `alias_method’: undefined method `initialize_schema_information’ for module `ActiveRecord::ConnectionAdapters::SchemaStatements’ (NameError)

I am writing an app that utilizes CommunityEngine. At first, Mongrel puked on the RAILS_GEM_VERSION=2.0.2, duh! I have Rails 2.1.0 installed. Make a quick changed and pow!

/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method’: undefined method `initialize_schema_information’ for module `ActiveRecord::ConnectionAdapters::SchemaStatements’ (NameError)

I gotta love this…. So I googled it… I didn’t find much in the way of solutions other than that [...]

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!