similar to: Timer for executing events

Displaying 20 results from an estimated 10000 matches similar to: "Timer for executing events"

2006 Mar 22
3
Which JavaScript effect is this?
http://canadaonrails.com/ (when you hover over news and events) I''ve seen this implemented on a few rails sites now and I was just wondering if it is just a simple javascript from the prototype library. Does anybody know of any links on how to do this? Thanks in advance! -- Posted via http://www.ruby-forum.com/.
2006 Jun 01
7
Active Record Basics - Making it commentable
hi everyone, I hope someone can help me out with some active record basics? I''ve been banging my head for the past 4 hours and I can''t seem to get it to work. I am trying to add comments to a caption (just like how one adds a comment to a post in a blog). I seem to be able to read posts just fine from the DB, however, I can''t use the "recordComment"
2006 Jun 03
6
Calculating row COUNTs
hi everyone, I''m trying to do a simple calculation in my rails project. I would like to find all rows in a table that match the given id of another table (ie. comment_id) and has the value = 1 ("value" is a field in the table), then add those values up. Next find the same rows with the value = -1 and add those values up also. Finally, I would like to find the total.
2006 Jan 20
1
Best way to execute timed actions?
I''ve seen this come up a few times before on this list but never felt it got a satisfactory answer. What is the best way to execute timed actions? Examples include sending an email each week, calculating interest each day, or cleaning up your database or server files. This wiki page has some ideas, but these seem a bit extreme.
2006 Jul 04
1
Quick question: Iterate through a collection - no duplicates
Hi, is there a simple way to iterate through collection and not include duplicates? Thanks in advance. Jordan -- Posted via http://www.ruby-forum.com/.
2005 Dec 18
2
Could someone host my 1mb rails app??
Hi Everyone, Would someone be able to do a huge favor for me and host a very small 1mb rails app for me?? I can''t get my hosting up and running yet and I really need it up and running by today for my professor to check it off. I only need it up for about two weeks. You will get a lot of karma points for it :) Thanks in advance!! Jordan -- Posted via http://www.ruby-forum.com/.
2006 Jun 08
5
Displaying Calculation on Index
Hi, I am trying to create a simple point system and display the total on my index page. So I have my db basically setup like this: Posts id, body, created_at, user_id Post_points id, post_id, user_id, created_at, value So as you can see I am allowing other users to create points on the post and my db will store who gave the point as well. "value" is the point value which can
2005 Dec 18
5
restarting fastCGI process
Hi, I am very new to this so please go easy on me... I am trying to deploy my app on dreamhost and I seem to be having problems getting it working. One of the troubleshooting items on the wiki states: Rails apps in production mode do not reflect changes made after they start running. So, if you found a bug, fixed it and nothing appeared to happen--this is probably because you
2006 Jun 17
1
Quick Question: Random item from array
Well I think this is a quick question. I would like to select a random item from an array. I''m thinking maybe I need to generate a random number from 0 to array length. Actually I''m not exactly sure how to do this since I can''t seem to find math.random/math.floor on ruby api? Knowing ruby, there is probably a much easier way to do what I am trying to do. Any
2007 Apr 26
3
What to use to do an action every minute?
Hey, I need to have a process running that will do something every minute (check value of some stuff). Is there something in Rails that I can use to do this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2006 Jun 27
1
Utility App using rails models
I have a few maintenance programs that run periodically via cron. I learned how to use rails model files in those apps w/o much problem. However, the problem came about when one of my models, then many of my models began using plugins. Now I find that with each new plugin I use in my models, I have to go back to each of my utility apps and specifically require that plugin in order for
2006 Jan 21
1
Sortable Element with Partials?
Hi Everyone, I posted this last month and unfortunately, I didn''t recieve any replies. Maybe this time I''ll have better luck. I originally had my sortable element list working properly like so: <ul id="sortable_list"> <% @items.each do |item| %> <li id="item_<%= item.id %>"><%= image_tag "dragme.gif"
2006 Jun 27
5
Rails cronjob?
I want to be able to write a script in Ruby which regularly consumes an XML feed from a fixed source, re-formats it, produces a large file for web delivery, and updates a database with the contained information. It''s simple - just running a script from a cron job, and some basic data manipulation... But I''d prefer to use the Rails database mapping constructs than roll my
2012 Mar 02
2
[LLVMdev] Access Violation using ExecutionEngine on 64-bit Windows 8 Consumer Preview
Hi Rotem, Thank to you, and especially to Marina! The problem gone. I'm a bit interested, what is the reason it worked in Win7, and not in Win8. I've recently used Process Explorer to discover, that the call was to ntdll.dll, which in Win8 is loaded to the totally different address. Best regards, Victor Milovanov Moscow State University graduate student 2012/3/3 Rotem, Nadav
2007 Dec 26
3
executing code after each step of a story
Hello, how can I execute some code after each step of a story. Is there some kind of listener documentated. Thank you in advance, Armin
2007 Sep 12
12
Philosophical questions
Disclaimer: The following are observations by a relatively new user (couple of weeks) of RSpec and not intended as RSpec trollbait. Also, forgive me if similar topics have been discussed elsewhere on the mailing list. I at least did the due diligence of a quick search. That said... I''ve been positively thrilled with RSpec for use outside of Rails. It has been in my attempts
2004 Jun 15
8
a better smbstatus for monitoring samba ?
Hello, does anyone know if there is a tool in existence that can monitor samba shares like smbstatus but is much more advanced (and runs in console) , I mean a tool that has menues, some search options, and things sorted out nice. A Samba realtime monitor would be the best thing with lots of details and lots of options. I tried Swat, but that aint really a solution to watch who is connected
2008 Sep 14
5
Slackware's 'explodepkg' equivalent for rpm?
Hi, Is there any 'explodepkg' equivalent for the rpm command? What I want is simply uncompress an RPM package to get the files directly, but I didn't find anything in rpm's manpage. Cheers, Niki Kovacs
2008 Feb 27
2
All Day Events
I must be stupid because this cannot be this hard. I''m trying to build an all day calendar event. In most clients it shows up as an entry at the top of the day rather than blocking out the whole day with an event. I have a bit of code that looks like this... cal.event do dtstart DateTime.parse("#{startDate.year()}-#{startDate.month()}-#{startDate.day()}") dtend
2008 May 28
2
Re: calculating the needed swiotlb in dom0
I just found out that setting swiotlb=128 in dom0 grub.conf allowed me to run my mythtv domU with additonal options to ivtv: in /etc/modprobe.d/options options ivtv enc_mpg_buffers=8 Setting this to any higher value causes a kernel panic. I want to be able to specify options ivtv enc_mpg_buffers=16 enc_vbi_buffers=8 How much swiotlb do I need? Is there a way to figure this out or is it just