Displaying 20 results from an estimated 700 matches similar to: "Testing CRUD/Rest Controllers"
2006 Aug 12
0
Permission denied [solved]
many thanks Michael
2006/8/10, Michael Siebert <info@siebert-wd.de>:
>
> chmod -r a+rwx tmp
> should work
>
>
> 2006/8/10, Roberto Felloni <roberto.felloni@gmail.com>:
> >
> Hi to all.
> I''m a newbye, and this is my first contact with list.
>
> I have installed ruby and rails.
> My ruby local home page works, but development.log tell me
2006 Jul 17
0
Help wanted for Browsergame
Hello there,
to make it short: i''m writing a browsergame called "stellar legends". it is
a game about the far future in space with rpg elements and other nice stuff.
and its done in rails. since im all alone in developing that game, i need
help, because i want it to be playable before 2020 :)
the thing is: until now, it is in german, so the best would be developers
who are
2006 Aug 06
1
ActiveRecord: determine if attribute has changed since save
Hello there,
i need to determine whether an attribute of my model has changed since the
last time it was saved. how can i do this?
greets
--
Michael Siebert <info@siebert-wd.de>
www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 05
1
[PATCH] --detach on win32
Hello there!
I made a little patch for scripts/backgroundrb/start to make detach work on
win32!
It needs win32-process to work (it''s a lib from the Win32 Utils project on
rubyforge: http://rubyforge.org/projects/win32utils/). To install it, just
issue a "gem install win32-process --include-dependencies". If the script
detects the :detach option (and a win32 platform), it tries
2006 Jul 25
1
bgdrb hangup
Hi,
i had a little problem a few minutes ago. somehow the backgroundrb process
got mad and consumed all the cpu power available, i think it got an endless
loop. i dont know why, no exceptions were thrown.
could this be an issue of bgdrb or ruby or rails (as i load the rails
environment)
--
Michael Siebert <info at siebert-wd.de>
www.stellar-legends.de - Weltraum-Browsergame im
2006 Aug 10
1
IMPORTANT: Rails update 1.1.6
for those who didn''t read it somewhere else: the bug being adresseb by
1.1.5was not completely fixed, so now theres another security update:
http://feeds.feedburner.com/~r/RidingRails/~3/10954980/rails-1-1-6-backports-and-full-disclosure
anybody using engines, dont update since this update will break the plugin,
more info for fixing the bug in this case also in the blog.
--
Michael
2006 Aug 07
1
:load_rails
if CONFIG[''load_rails'']
ActiveRecord::Base.allow_concurrency = true
ActiveRecord::Base.establish_connection(YAML.load(ERB.new(IO.read
("#{RAILS_ROOT}/#{CONFIG[''database_yml'']}")).result)[CONFIG[''environment'']])
end
if i read the code right, this option doesnt really load rails. wouldnt it
be better (for those who rely on the
2006 Jul 24
1
require file from /lib in a worker
Hello,
i need to require a file located in /lib from a worker class, but when i try
to start the backgroundrb server, i get something like
d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'':
no
such file to load -- ./lib/office_thumnail_generator.rb (MissingSourceFile)
i tried it with and without lib, with RAILS_ROOT, nothing worked, altough
the paths look good
2006 Jul 31
1
[PATCH-SUGGESTION] autostarting workers
Hi there,
as i stated before in my talk with Ben Johnson, I hacked a little bit and
here it is - autostarting jobs. I think someone (eh... Ezra) should review
it and check to see if i made any mistakes. Also i dont have the possibility
to test it on other-than-Windows systems, but since the calling process
works just the same, it should do well...
Now the neccesary evil, the documentation...
If
2006 Aug 07
0
reply-to email header
why does the mail server not set the reply-to header? gmail ignores the
list-* stuff and when i click reply it replies to whoever wrote the mail...
that ... (dontwannasaythatword)
is it a rubyforge thing or where do i have to complain?
greets
--
Michael Siebert <info at siebert-wd.de>
www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium
-------------- next part --------------
2006 Jul 20
0
delete workers after use
Hello folks,
does backgroundrb delete workers who exited do_work()? i experienced
it doesnt (and that freaked me because i didnt know that for several
hours). is there a way to let the middleman or so delete workers who
did their job imediately after they''re done? if not, i coud think of
that as a nice improvement.
greetz
--
Michael Siebert <info at siebert-wd.de>
2006 Jul 17
1
acts_as_tree and :include
hello there,
i have a model that uses acts_as_tree:
>class GbEntry < ActiveRecord::Base
> acts_as_tree :order => ''created_at DESC''
>end
and i want it to paginate, including all children to avoid unnecessary
db queries:
> @gb_entry_pages, @gb_entries =
> paginate :gb_entries, :per_page => 15, :order => ''created_at DESC'',
2006 Aug 01
2
making backgroundrb cron
Hello,
i need to have some jobs scheduled in the background and executed at
specific times. I wanted to make a worker who does that - and it works a
little bit - but i had an enlightment... why not make bgdrb itself play that
role? i mean, the MiddleMan has already everything needed! a timer thread,
currently used only for deleting old workers and the workers itself. since
im not familiar with
2006 Sep 14
1
Status of your worker pool
On Sep 14, 2006, at 10:25 AM, Michael Siebert wrote:
> Hey Ezra,
> how is the status of your worker pool? i need some thing like this
> ASAP and i can''t get David Lemstra''s QueueWorker to work, so: whats
> the status? do you have some "beta" lying around on your hard
> drive? I dont want to spend my time on that if you''re coming up
>
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like
ActionView cant find my template. same code works as a rake task.
here my worker:
class StatusMailWorker < BackgrounDRb::Rails
repeat 1.minutes # <-- hehe!
def do_work(args)
[...blah...]
NotificationMailer.create_daily_report(users, rep, items)
end
end
end
its throwing the following error:
No
2006 Aug 23
5
Singleton-like Worker
Hello there,
I need a Worker Class to be Singleton-like, that means there must be at
maximum one Instance at a time. When a new Request is made to create another
worker of this type, it should return and wait for the other instance to be
destroyed.
what i need to do: i have a worker who needs to do sth with java and
openoffice, and it seems when i have more tha one worker simultaneously,
2006 Jul 28
8
Building a Search Page as part of CRUD
I''ve been experimenting with Rails over the past couple of days and
have come across something that seems harder than it should be. In
previous frameworks I have used (WebObjects, php) a full search page
(which leads into a list view populated with search results) was part
of the CRUD that was either dynamically or statically created after
specifying table/object schema. In
2007 Mar 04
2
BgDRb blocking in ActiveRecord
Hi Folks,
I''ve got a tiny little problem using MySQL-backed ActiveRecord in my
worker class. Sometimes it just blocks infinitely when I try to
access it. I don''t know whether it is in AR itself or in the SQL
driver. It just stops doing anything, logging nothing, no exceptions
are raised. I don''t know if it matters that I call the worker''s
methods via
2003 Mar 04
2
Issues with domain auth
Ver smb 2.2.7a
Managers, I am having trouble configuring samba as a domain member
authenticating to a win2k domain controller. All other aspects seem to
be functioning but samba is generating a log event when attempting to
connect to the password server as follows.
Machine NDEVDC1 rejected the tconX on the IPC$ share. Error as follows:
NT_STATUS_ACCESS_DENIED
Any help is appreciated.
Aaron
2006 Aug 14
3
last record
hi @all
Can anyone help me? I would like to read the last two records from a
database. In the database I have a table with id, name and sex.
How can I read the last two records from the entered names, who are
female? There are two conditions I need:
> last entries
> sex-condition
User.find(:all, :condition.....) ??
--
Posted via http://www.ruby-forum.com/.