Skip to content

Instantly share code, notes, and snippets.

@snusnu
Created February 19, 2010 19:04
Show Gist options
  • Save snusnu/309050 to your computer and use it in GitHub Desktop.
Save snusnu/309050 to your computer and use it in GitHub Desktop.
  #dom_id => #to_s  # defaults to :id in AMo and does some yet to find out default in dm

And to make the following change in action_controller

  # action_controller/record_identifier:63
  if record_id = record.to_model.dom_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment