Skip to content

Conversation

@galetahub
Copy link

Record identifier type can be anything else, so it's better to use String type

@dskecse
Copy link

dskecse commented Jan 14, 2019

@galetahub for your specific case you could simply add a BaseForm to your app:

class BaseForm < Rectify::Form
  def persisted?
    id.present?
  end
end

and then derive your actual forms off of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants