I have designed a simple rails 3 app that displays information about all of the 
talks for the upcoming RubyConf 2011 in New Orleans.

I did it so that I could have quick access to information about each talk and 
because 3 talks are scheduled in different rooms at each given time, I have 
assigned a field intitled "priority" which contains values 0,1, or 2 
(descending order of importance, 0 being most important) depending on which 
talks I would prefer to attend at a given time slot.

This is working for my personal choices and can be seen here:

http://sf.gcdsystems.com:3000

I would like to make this more useful by adding a new table for users that 
would contain a comma separated string of "priorities" associated with each id 
of "talks" table, so that I could display the data properly for multiple users. 
I will need to add user validation, etc..., but that I have done before and can 
do again.

The initial display should display the data sorted by priority,time (it does 
this now, but is setup to work for only for one user).

The priority field in the "talks" table needs to be moved to the users table, 
where I can store it in a text field as a string of numbers in talks.id order.

The users table would contain such things as firstname, lastname, username, 
password, and priorities.

If anyone could suggest a rails form helper or a optimal approach that would 
allow me to collect, store and display the data so that I could have multiple 
users, each with their own set of priorities, displayed as mine are now, it 
would be a great help. 

I have shortened some of the titles for the sake of brevity. If any of the 
Railsconf 2011 speakers would like me to use a different image for them, email 
me your preferred image. If I am missing your image, please email me one that I 
can use. ;-)

Once I've got this latest part working, I'll make the sources available on 
GitHub along with the data in MySQL format.

-- Steve
s...@comcast.net

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to