On 20 April 2015 at 13:40, Padmahas Bn <padma...@gmail.com> wrote: When replying please reply to the previous message, rather than your own post.
> > Now is it possible to access data of members table such as member_code, > member_status (active or inactive) etc from recovery model? I told you how to do that in my first reply, something like Member.where(status: "active") will give you the members, then you can use each to get member.member_code Colin -- 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+unsubscr...@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/CAL%3D0gLuat7Wif64K%2Briz4WFjpXQEZibWq9UQ3aE06TR9k0j7aA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.