[Rails]

2013-06-11 Thread Vitaliy Yanchuk
-- 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@google

[Rails] Re: checking arrays if exist efficiently

2013-06-11 Thread jainvikram...@gmail.com
Please, You not fetch all rows from database table. For better way is, you can fetch data with filter using 'where' cluase and Proceed on data. On Wednesday, June 12, 2013 11:08:16 AM UTC+5:30, Ruby-Forum.com User wrote: > > Rails 4.0.0 > > I am developing an app that checkes information updates

[Rails] checking arrays if exist efficiently

2013-06-11 Thread Soichi Ishida
Rails 4.0.0 I am developing an app that checkes information updates automatically. When the checking algorithms get to work, they receive an array of contents such as info_obtained: ['Tom', 'Steven', 'Bill', ...] then, the app needs to check if each element of the array is already persisted in

Re: [Rails] Re: Railscasts Android app

2013-06-11 Thread Norbert Melzer
Perhaps you could do it as in Gmail app? Tap the icon to mark an entry and have an icon in the top bar to toggle status? This would make marking 200 episodes as seen much easier! Am 12.06.2013 00:37 schrieb "Rui Costa" : > In fact I have included the option to "Mark as watched". Just lonk click >

[Rails] Using Redis to Load Data-please help me!

2013-06-11 Thread haxuan lac
I'm doing with Redis and Mysql I have problem with Using Redis to Load Data. Before my Application load Data direct from query Mysql DB But now I want it only load form DB one time in 2 hours and in 2 hours, Application using Redis to load this Data After 2 hours,this App continue to query form DB

[Rails] Re: Railscasts Android app

2013-06-11 Thread Rui Costa
In fact I have included the option to "Mark as watched". Just lonk click the screencasts on the list and select the option on the contextual menu :) Perhaps it's not clear enough.. I'll work on that! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscr

[Rails] Re: Changing log level at runtime in a multithread server like unicorn

2013-06-11 Thread Frederick Cheung
On Tuesday, June 11, 2013 4:35:28 AM UTC+1, Markus wrote: > > How can I change the log-level at runtime *without restarting* or > creating new forks? > > I was thinking of having a controller that - with proper authentication- > allows a user to set the log level of a specific server, i.e. the

Re: [Rails] Railscasts Android app

2013-06-11 Thread Norbert Melzer
After a first look it seems interesting, but there should be added a little bit! I have already seen about 200 Episodes on my PC, but I don't see a way to mark them as seen in the Android app, except for letting it play for the full duration. A mark as seen feature should get added. Also it would