Displaying 20 results from an estimated 6000 matches similar to: "RailsCron 0.2 plugin"
2006 Feb 07
4
RailsCron 0.2.2, please update
I updated RailsCron to fix some threading issues with ActiveRecord.
Please update if you were on 0.2.1. Also, I am still working on a
good unit test strategy (its tricky because I would think that the
tests must occur over a lot of time), but haven''t had/made time to
give it its due. If you have suggestions, please let me know.
--
Kyle Maxwell
Chief Technologist
E Factor Media // FN
2006 Feb 19
4
Sending Scheduled Email Ticklers
Hi All,
I am developing a RoR app for managing community information and would
like to have an summary of current events and interests mailed out
monthly. The tickler email would be a basic summary of items and links
back to the site.
I would like to schedule the email delivery dates and have the app send
out email to registered users that opted for this service. Once
scheduled, a monthly
2006 Jan 07
3
RailsCron 0.1 plugin
I, like many of you, have been searching for a good way to handle
running long processes in Rails. So I rolled my own solution. I
really want feedback! (I''ve tested this on very simple hello world
examples, so don''t use it on anything production yet) .
Grab the plugin:
http://opensvn.csie.org/rails_cron
Here''s the README:
OVERVIEW
========
RailsCron is a way to
2006 Feb 14
7
Action when database changes
Hello,
Is it possible to trigger an action in a controller when
a table from database changes?
I thought about using an utility like cron (railscron) to
check every, e.g. 2 s, if the table changed, but I am wondering
if there is a solution a bit more ''elegant'': to trigger an action
exactly when the change is made.
Best regards,
--
Kuba Nowak
2006 Feb 23
5
Q: Where to put a periodic updater?
Hello,
I need to put a script in place for updating a local database with a
remote resource periodically. It should be started alongside the
server (or inside it, whatever) and be run as long as the server
running my rails app is up an running.
Any thoughts on how to accomplish this?
I have thought of editing the environment.rb file and placing the call
to the script trigger there, but I wonder
2006 Feb 23
1
RailsCron: ''every'' in background
Got another question. It''s unclear to me what "every" means in the background
function and how it relates to the RailsCron.create "every":
>From README:
RailsCron.create(
:command => "Object.do_something()",
:start => 2.minutes.from_now,
:every => 12.hours, # default: 1.day
:finish =>
2006 Jan 28
1
RailsCron 0.2 questions
Hi all, I''ve set up RailsCron to send email reminders on a daily
basis. My dev environment is Rails trunk on Debian Sarge, lighttpd
running as a regular user.
I''m having two issues:
1) When I run "rake cron_start", I get
rake aborted!
undefined method `blank?'' for "":String
The "blank?" method is provided by Rails, so I''m
2006 Feb 23
12
Showcase On Rails CMS v0.1
I built out a simple CMS for websites that rely heavily on portfolios.
This covers graphic and web designers in particular, but also other
people with stuff to show off. It''s really easy to customize
progressively, so that some people will only modify CSS, but others
will dig deeper into Javascript behaviors and the Rails view code.
Check it out at http://showcase.kylemaxwell.com/
SVN
2006 Feb 20
5
RailsCron: error message
Hi,
I''m trying to use RailsCron but keeping getting an error when I try to run
it. I''m a beginner, so please use small words :)
-bash-2.05b$ rake cron_start
(in /home/jake/rails_sites/testsite)
Syntax error: "&" unexpected
The little bit I know about my environment:
- RailsCron installed as a plug in (not gem, cause I''m on a shared host)
- Debian Linux
2006 Feb 04
5
file_column + form_remote_tag
For my weekend project, I''m going to get form_remote_tag and
file_column playing happily together. According to my research, no
one has done this yet. If you happen to have tried this, and have
some workable code, send me an email. I''d rather not duplicate the
effort.
Thanks!
--
Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
kyle@efactormedia.com
2006 Jan 09
5
form with more than 1 file upload field saves 0 byte file for 1 file field
Im using the file_column plugin to upload files from my application. The
problem I am encountering is that I have a form with 2 file upload fields
and when I submnit that form with files selected, I would get a message from
the browser(Firefox) saying that a script on the page is taking a long time
to execute and whether I want to cancel it or continue. Whichever option I
choose, only 1 file(PDF)
2006 Feb 12
7
form_remote_upload plugin
form_remote_tag does not support the input type=file. This is due to
javascript security limitations. I created a plugin that modifies
form_remote_tag so that if you pass it the option: :html =>
{:multipart => true}, it will submit via an iframe, allowing you to
upload files. It works nicely with file_column :). Currently, it
only works with RJS templates (no :update option), and I only
2006 Feb 08
2
How to install RailsCron?
Hi,
I would like to start running a background procedure once a user logs in
to his account on the website. For this I am considering using the
RailsCron object. However, I am not able to download it. I am new to
Rails. Can someone give me the excat command I should use to get
RailsCron?
Can someone suggest a better way of running a procedure in the
background?
Thanks
-Yash
--
Posted via
2006 Jan 19
3
-517611318:Fixnum ... WTF?
I''m getting occasional errors that look like:
Some method called for -517611318:Fixnum
The method is constantly changing, and this error happens on ~5% of
the page loads on my Mac Tiger development box. It''s happening on
Ruby 1.8.2, and 1.8.4 compiled from source. I haven''t seen it on my
Linux production boxes. I was wondering if anyone had seen this
before?
--
2006 Jan 12
5
file_column preview in multistage forms
i have a 2 step form which contains 1 file_column field.
The second form is just "This is how your post will look" kind of form
and the user can click Edit (to take them back to form1) or Submit.
If the user clicks edit it takes them back to the first form with
fields populated. I have it working with all text fields, I just dont
know how to do this with file_column field (showing the
2006 Mar 28
5
Is it possible to upload file with form_remote_tag?
I have tried to upload a picture file with file_column plugin and
form_remote_tag, but no success.
When I do request.params.inspect it shows null for picture parameters.
With normal form the file uploads nicely, so is it possible to upload
file with form_remote_tag?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 17
5
file_column mangling URL
Hey,
I''ve gotten file_column to upload a file, drop it in the dynamic
directory, but I can''t display the image, the directories repeat
themselves:
My model:
class Person < ActiveRecord::Base
file_column :image_url
In my view:
<%= image_tag url_for_file_column(''person'', ''image_url'') %>
HTML generated is this:
<img
2006 Jul 07
7
file_column repository broken?
I really want to try out file_column but the repository seems to be down
for me. I added it to my repository list and script/plugin is unable to
see anything in it.
I downloaded an archive from the website but it is not clear to me which
files need to be installed to which subdirs of my RoR project.
Anyone else having this issue with the repository? I am able to see
other repositorys no
2006 Jun 30
2
Development of RailsCron
Hi,
Is the development of Rails Cron still active? most of the blog articles
about it are unavailable and it hasn''t been updated for a long time.
--
Abdur-Rahman Advany
http://blog.railsdevelopment.com/
2006 Jan 10
7
Can only render or redirect once per action - why?
I ran into this error message a quite a few times since my app requires
branching to different pages from the same action... say using a switch
statement. Ofcourse I found that you can use multiple redirects or renders
if you do
render :action => ''new'' and return false
I hate to code something I don''t understand fully. Any explanation of this
will be greatly