Skip to content

Instantly share code, notes, and snippets.

@andyhite
Last active December 20, 2015 11:59
Show Gist options
  • Save andyhite/6126977 to your computer and use it in GitHub Desktop.
Save andyhite/6126977 to your computer and use it in GitHub Desktop.
class FooBar < ActiveRecord::Base
...
def program_ids_list=(list)
self.program_ids = list.split(',')
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment