Hi all i have only one model in my appliction that is user model(here the user is patient) i as an administrator can enter the patient details..so if i have to retrieve the patient deatails with a specific column name in patient table what will be the code in model, view and controller..any clues.. i am using ruby 1.8.7, rails 2.3.8 and database sqlite3 on my windows7 machine. -- 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 all i have only one model in my appliction that is user model(here the user is patient) i as an administrator can enter the patient details..so if i have to retrieve the patient deatails with a specific column name in patient table what will be the code in model, view and controller..any clues.. i am using ruby 1.8.7, rails 2.3.8 and database sqlite3 on my windows7 machine. -- 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 guys any clue....? On Jan 28, 3:09 pm, venkata reddy <venkatareddy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all > i have only one model in my appliction that is user model(here the > user is patient) > i as an administrator can enter the patient details..so if i have to > retrieve the patient deatails with a specific column name in patient > table what will be the code in model, view and controller..any clues.. > i am using ruby 1.8.7, rails 2.3.8 and database sqlite3 on my windows7 > machine.-- 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.
User.find(:column, ....) Is a user a patient or have many patients? -- 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.
users table is having many petient records.. On Jan 29, 8:17 am, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> User.find(:column, ....) Is a user a patient or have many patients?-- 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.