hi.
i try to record a global array to save on-line member.
it’s put this array in controllers/application.rb or not?
my code like this:
$online_users = Array.new
and each member sign in will add himself to $online_users.
miss something?
all regards
On Dec 17, 2005, at 7:54 PM, joe-balck wrote:
all regards
–
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Joe-
Here is a little article that explains one way of showing who's
online like you want:
http://blog.caboo.se/articles/2005/12/15/whos-online
Cheers-
-Ezra Z.
WebMaster
Yakima Herald-Republic Newspaper
[email protected]
509-577-7732
Ezra:
thanks a lot. i do like here. i think here is the best forum.
god bless here.
cheers
Ezra Z. wrote:
On Dec 17, 2005, at 7:54 PM, joe-balck wrote:
all regards
–
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Joe-
Here is a little article that explains one way of showing who’s
online like you want:
Parked at Loopia
Cheers-
-Ezra Z.
WebMaster
Yakima Herald-Republic Newspaper
[email protected]
509-577-7732
i readed that blog, and i think use db to do this is too expensive.
any one have better way.
i think ‘ASP’ have a application to save globals variable, but i’m not
sure
rails can do same job.
joe-balck wrote:
Ezra:
thanks a lot. i do like here. i think here is the best forum.
god bless here.
cheers
Ezra Z. wrote:
On Dec 17, 2005, at 7:54 PM, joe-balck wrote:
all regards
–
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Joe-
Here is a little article that explains one way of showing who’s
online like you want:
Parked at Loopia
Cheers-
-Ezra Z.
WebMaster
Yakima Herald-Republic Newspaper
[email protected]
509-577-7732