Hey thanks for your answer!
I have looked at plazes and this website is just what i am trying to
make, but smaller..

I want a logged in user to give in a place where he is currently
staying (and show this on map)!
How can i do that?

I have looked at the api code and i really liked it!  When i want to
place myself i have to create a new
plaze or use an existing one! I want to do this also! how can i do
this?

this is the code from plaze
  <plazes>
    <plaze>
      <id>21</id>
      <name>Cheese Galore</name>
      <address>Torstrasse 11</address>
      <zip_code>10425</zip_code>
      <state></state>
      <city>Berlin</city>
      <country_code>DE</country_code>
      <has_free_wifi type="boolean">false</has_free_wifi>
      <updated_at type="datetime">2001-01-01T00:00:00Z</updated_at>
      <country>Germany</country>
      <category>shop</category>
      <latitude type="float">52.537995812247</latitude>
      <longitude type="float">13.412426179325</longitude>
      <link>http://plazes.com</link>
      <photo_url>http://plazes.com/photos/
2107b4468b4795c69288fdc9961a3415-thumbnail.jpg</photo_url>
    </plaze>

so when  a new plaze is created this kind of data is used in the
database and on the website.
The link with the plaze and user is made in a activity object

<activity>
 <..>
<user></user>
<plaze></plaze>
</activity>

How can i make this in ruby on rails? Which relation is this?


--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to