How do I set up a personalization option? I use devise, and like the user can set up personal option for website, for example user can set up how many items to display per page, and every time users login, user will see the option work. How do I do that? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 16 April 2012 08:25, Taiwan Vincent <vincent.open.source.taiwan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> How do I set up a personalization option? > > I use devise, and like the user can set up personal option for > website, for example user can set up how many items to display per > page, and every time users login, user will see the option work.Store the attributes in the users table and then use them for controlling the views. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi Colin, Many thanks for reply, i am working on it right now. On Apr 16, 3:45 pm, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 16 April 2012 08:25, Taiwan Vincent > > <vincent.open.source.tai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > How do I set up a personalization option? > > > I use devise, and like the user can set up personal option for > > website, for example user can set up how many items to display per > > page, and every time users login, user will see the option work. > > Store the attributes in the users table and then use them for > controlling the views. > > Colin-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.