I would strongly advise you go through Michael Harte 's rails tutorial.
...what you want is to understand what REST is and how it works...that's
the premise behind a webapp api

--Rob
Sent from my cell, please excuse any typos.
On Sep 18, 2014 2:50 PM, "John R_" <[email protected]> wrote:

> Hey All:
>
> I just started learning Ruby & Rails to use with Heroku. I understand
> how Ruby works, and I like it a lot. I'm kind of stuck on how to
> implement my backend api for my game however. For instance, I have a
> "Game" model that is attached. If I wanted to call the Game controller
> to check for any rows that existed for specific column value(s), how
> would I do so?
>
> So lets say I wanted to find game rows that had the game type column set
> to 1. How would I set that up?
>
>
> Thanks!
>
> Attachments:
>
> http://www.ruby-forum.com/attachment/10101/post-3164-0-78139100-1410968334.png
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/24de5d667b4ab3f9c30998d880318c5a%40ruby-forum.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAPncwv%2Bpy5k4AjHxH4NGX_KV%3D149kqgf%2Bj6X4-6HOVf%3DMDdFCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to