Fixed issue with define_attribute_methods to work with Rails 3

With this fix, active_bugzilla can be loaded in both Rails 3 & 4