I have been working on implementing my own ORM. And I was wondering how the
rails path helper extracts the ID from the object. For example how would I
make this work for my ORM?
@contact = Contact.first
contact_path(@contact)
Any help would be greatly appreciated!
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/bxS3Y1M_g_AJ.
For more options, visit https://groups.google.com/groups/opt_out.