Added custom fields has 

Seems to work correctly.

Merit::Badge.create!({
  :id=> 99,
  :name=>'Top Scorer',
  :image=>'badges/topscore.png',
  :description=>'The user with the highest score ',
  :custom_fields_hash=>{:order=>1,:visible=>false}
})


gives:

[1] pry(main)> Merit::Badge.find(99)
=> #<Merit::Badge id: 99, name: "Top Scorer", level: nil, image: "badges/topscore.png", description: "The user with the highest score ", custom_fields_hash: {:order=>1, :visible=>false}>