First validate the data, and then insert it to the database. Till then, it’s read from the file and still in-memory.
I’m not bringing the cache into the picture at all. -- Dheeraj Kumar On Tuesday, 5 November 2013 at 11:24 am, Fahim Patel wrote: > @dheeraj - thanks for reply.I am using resque & redis. You exactly got use > case . > can you please give answer for below point:- > 1. From rails app, when user insert data then each time data hitted on > database for validation or validation is present in cache ? > > -- > 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 > (mailto:rubyonrails-talk+unsubscr...@googlegroups.com). > To post to this group, send email to rubyonrails-talk@googlegroups.com > (mailto:rubyonrails-talk@googlegroups.com). > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/213e0dea-5492-4476-8695-5fe284825d94%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- 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/1B3D69165B3A4D19800F2A7B398764F7%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.