Answer by nesiseka for Is there a standard way to get an ActiveRecord item...
On your basic example something like this should work.def get_object_from_url url_string class_string = url_string.split('/')[-2] object_id = url_string.split('/')[-1]...
View ArticleIs there a standard way to get an ActiveRecord item within Ruby on Rails from...
Is there a standard way to get an ActiveRecord item in Ruby on Rails from a given URL?I have some data in an external RDF database which I can query to get URLs for items in my Ruby on Rails code. I...
View Article
More Pages to Explore .....