Ruby on Rails Sunday, September 28, 2014

Colin Law wrote in post #1158601:
> On 28 September 2014 05:17, Joseph Wilks <lists@ruby-forum.com> wrote:
>> REST/CRUD actions (i'm not creating, updating, or destroying anything...
>> they're just doing a quiz and getting badges and xp when they complete
>> them..).
>
> Do the quiz information and challenge set data change over time? If
> so then you need to create, update and destroy them.
>
> What other information needs to be remembered from one session to the
> next?
>
> Colin

Hi Colin

The quizzes will remain the same, although obviously I will add new ones
myself over time. The user just reads some information (which could be
on the same page as the quiz, using a little ajax box with multiple
tabs), does a small quiz, and all that needs to be remembered is a
boolean which says whether that quiz has been successfully completed or
not (I think).

I want to have it so that the URL's are like:

example.com/comedy/1 (for quiz 1 of the comedy tv section of questions)

and then if it has multiple pages I guess I'd need it to be /comedy/1/3
or whatever.

What's the standard way to do this?

Thanks for the help!

Joe

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f5217ca4066ad04425355d4184330921%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment