Hi,
    If we have to do a similiar kind of mapping for a "single type node" then 
what is the procedure.

In movie actor example we have two models. movie and actor. Say i want to have 
only Person and relationship is among this person only. say KNOWS relationship.

In Actor Movie example: I want to know that how the things were built up. how 
models, controllers and views were linked together. That is if i want to 
recreate the same application then how should i go for it?


 
Love & Regards
Ashish Sanghvi




________________________________
From: Andreas Ronge <andreas.ro...@jayway.se>
To: Neo user discussions <user@lists.neo4j.org>
Cc: neo4...@googlegroups.com
Sent: Tuesday, September 22, 2009 3:54:22 PM
Subject: Re: [Neo] neo movie database example ROR

Hi

I guess you are talking about the Ruby on Rails Neo4j.rb example in
http://github.com/andreasronge/neo4j-rails-example

I think the 'new_actor_path' is generated by Ruby on Rails since we
use restful mapping URLs

ActionController::Routing::Routes.draw do |map|
    map.resources :actors do |actor|
      actor.resources :acted_in
      actor.resource :movies, :controller => 'acted_in'
    end

I cross post this to the Neo4j.rb mailing list

Cheers
Andreas

On Tue, Sep 22, 2009 at 9:56 AM, Ajay Sharma <sharmaa...@gmail.com> wrote:
> Could anyone please tel me what thsi line does in MOVIE databse example of
> neo ROR platform
>
>
>  * <%= link_to 'New Actor', new_Actor_path %>*
>
>
> i suppose this is the link to call the new creation page of actor. but what
> exactly "*new_Actor_path" means here.
>
>
> *
>
> --
> Ajay Sharma
> _______________________________________________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user



      
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to