Spree::CreditCard.class_eval do
  attr_accessor :name
end

Spree::CreditCard.class_eval do
  attr_accessor :name
  unless Rails::VERSION::MAJOR == 4
    attr_accessible :name
  end
end

Add attr_accessible to credit card name
Add attr_accessible to credit card name
