Looks like you want to use *to_param* method in your models to present a 
*rid* value generated URLs.

On Wednesday, February 15, 2017 at 4:04:25 PM UTC, hartmut bischoff wrote:
>
> Hi altogether,
>
> I am working on  rails integration of active-orient (
> https://github.com/topofocus/active-orient), introducing the 
> nosql-database to rails.
>
> A main difference between RDMS and nosql-Databases is the absence of a 
> "id"-property/database-field. 
> Instead, a record is identified by "rid".
>
> How difficult is it, to substitute "id" to "rid" in the (named and 
> restful) routes and where is the right place to implement such a feature?
>
> Thanks in advance
>
> Hartmut
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to