Displaying 20 results from an estimated 2000 matches similar to: "exec format error"
2007 Feb 14
1
cron like behaviour?
Hi
I have previously used railscron for server-side manipulation of the
database but had a heap of trouble working with it.
BackgrounDRB was suggested to me by a friend.
I upload some files via acts_as_attachment and these go lie in a dir
structure that i desire. What I want from the background process is to
periodically (not user initiated) do some file-structure manipulation i.e. I
want to
2007 Sep 30
0
Patch: background_tasks.rake
Hi,
* Background
I develop rails app with backgrounDRb where
one of its parent folders has a space in its name.
* Problem
rake backgroundrb:start and rake backgroundrb:stop
do not work
* Analysis
This is because the line for start and stop
in backgroundrb_tasks.rake do not quote #{scripts_src}
* Patch
Quote the #{scripts_src} in the two lines so they
become
2009 Nov 29
0
Problems with starting the backgroundrb server - Permission denied
Hi,
I am using eclipse and instant rails. I am trying to start the backgroundrb
server by the folowing script
ruby script/backgroundrb start
On doing a stack trace, it shows me an error in backgroundrb_tasks.rb on the
line
if File.exists?(scripts_src)
`#{scripts_src}/start -d`
Can anyone tell me what could be the possible reason? I tried removing -d,
but no use.
Thanks,
Harini
2008 Jan 21
1
shared sessions and rails2
Hi all
How would you go about sharing a session between two rails2 applications? I
am using restful_authentication.
A point in the direction of some relevant blogs would also be a great help.
Regards
Ivor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2008 Jan 22
11
Unable to load Models which reference plugins?
I''m using a plugin which adds a method to ActiveRecord::Base
http://similetimelinerailshelper.googlecode.com/svn/trunk/simile_timeline/
This adds an "acts_as" type declaration to the Models, via the file in
vendor/plugins/simile_timeline/lib/simile_timeline.rb Rails is working
with these declarations, and they are being used successfully in
''regular
2007 Sep 24
3
Oracle Date + RoR
Hi Experts,
I''ve a model called Product where i''ve column called created_at,
updated_at
where i''ve made a query based on Oracle date format
like
date_of_created = ''23-SEP-07''
@product = Product.find(:all, :conditions => ["created_at=?",
date_of_created])
but in view its empty.
AND EXPERTS I''VE DATA WITH 24-SEP-07 FOR MORE
2007 Sep 10
2
form_remote_tag not providing params in Ajax
I''m new to Ruby, Rails and Ajax and I''m trying to do something
seemingly simple. I am trying to use a value someone supplies in a
form in another form that is dynamically generated using Ajax.
I have the following code:
<div id="race_table">
</div>
<%= form_remote_tag(:update => "race_table", :url => { :action =>
2007 Jul 25
5
editing multiple models in one form
Very new to this but would appreciate a hand as this is driving me mad,
I''m trying to update both degree and assigned from a single form, the
degree section updates fine but assigned just retains the same values,
any help much appreciated!
my edit.rhtml file looks like:
<h1>Editing degree</h1>
<%= error_messages_for :degree %>
<%= start_form_tag :action =>
2007 Aug 23
0
active scaffold polymorphic model
Hi
I am trying to use active scaffold to build a polymorphic model .
I have a number of models that can be featured and I have a Feature model
that belongs_to :item, :polymorphic => true
In my config.columns I include :item_type and item_id, I also added
:item_name to show the name of the record in the form.
In the form, when a type of model is selected I populate the select box for
2008 Jun 06
1
fusion charts plugin?
I have to develop a reporting component for an application.
I would like to use fusion charts. Does anyone know if there is a handy
fusion charts plugin out there? I couldn''t find one although I did find
these 2 posts on the topic.
http://blogs.tech-recipes.com/johnny/2006/08/29/ruby-on-rails-beautiful-charts-made-easy-using-flash-with-rails-rxml-templates/
2007 Dec 13
0
acts_as_attachment -> attachment_fu, db_system -> file_system
Hi
I currently have an app running with acts_as_attachment and db_system. I
would like to convert it to attachment_fu and file_system.
Has anyone done this? Are there any pitfalls? I am aware that the change
from acts_as_attachment to attachment_fu is just a matter of replacing the
plugins, but I am wondering about the switch from db_system to file_system.
Is it as easy?
Just fishing for
2003 Sep 11
2
new stuff at pan.zipcon
A new directory uw_archives has been added. It contains the following
recordings:
Schumann: Andante & Variations for 2 pianos 2 cellos and horn.
Bartok: Suite for 2 pianos
Ravel: La Valse 2 pianos
Beethoven: Sonata Cminor opus 111 piano
Bartok: Suite:Out-of-Doors piano
--- >8 ----
List archives: http://www.xiph.org/archives/
2007 Sep 12
1
Problem about javascript in RoR
The problem is that if i want to change the value of a html element
like textfield in the function in controller, how can i get that?
example:
def
......
#like following
<javascript tag change the element''s value>
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Dec 17
1
file_column error: StringIO Instead of Temp_File
Hi all,
i am using file_column to upload 3 images from the same form, they are
all different names and DOM IDs so there isn''t a problem with the
multiple upload.
The problem is when i try to upload a file (or 2, or 3) sometimes it
works, but sometimes i get this in the log file:
"bar_image"=>{"file_temp"=>"",
2007 Sep 04
3
Finding the position on an item in a collection
This feels like it should be easy but i can''t work it out: if i have a
collection of stories, ordered by (for example) date, then how do i find
out the position of the story with id = (eg) 23 in the collection?
I guess this is a ruby question rather than a rails-specific question,
but maybe there''s a rails way...
--
Posted via http://www.ruby-forum.com/.
2007 Mar 26
2
Strange Record not saved errors
I have a site with an acts_as_authenticated based login which has
started throwing up some strange errors. Until a few days ago
everything worked fine but all of a sudden ''RecordNotSaved'' errors are
popping up in my logs.
When I check the database, it looks like the record _is_ saved but I
think users get an error so I''m starting to see a lot of double/triple
entries
2007 Sep 26
3
Can't connect to local MySQL server
hello everyone, i am new to ROR.
i am just trying to run a simple application which will show some data
from database, i have done it in my local machine. But when i tried to
do the same thing in my "Dreamhost" shared hosting. I got an error.
i used the Rake tool and successfully migrated a model (using SSH
client tool). The table was successfully created hosting db server, so
i
2007 Dec 25
6
error: no marshal_dump is defined for class Thread
I get this error periodically in backgroundrb.log, but only on my
production box (the one running ruby 1.8.5) - my dev box doesn''t get
this error. As far as I can tell, everything is working ok, despite
the error (I don''t really know how to determine if the jobs are
getting threaded successfully, but they are running, that I am sure
of).
Here''s the dump:
no
2008 Jan 29
4
Setting up release-1.0.1
Hello,
I am unable to get the backgroundrb server to run.
Initially I got:
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:263:in
`load_missing_constant'': uninitialized constant
BackgrounDRb::MasterProxy (NameError)
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:453:in
2008 Mar 09
13
Using the ip flag
Hey All,
I am looking for an example of the proper config settings for background rb to run my rails app and my backgroundrb instance on separate machines (or more precisely, to have a rails cluster with one backgroundrb machine). Does anyone have such examples?
Thanks!
-Noah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: