Displaying 20 results from an estimated 600 matches similar to: "IMPORTANT: Rails update 1.1.6"
2006 Apr 02
2
Problem with edge rails
Hello,
When I am trying to run rake migration tasks, I get the error as shown
below. I am using ruby 1.8.4 and edge rails.
What am I missing or doing wrong?
C:\rails\temp1>rake db:migrate
(in C:/rails/temp1)
rake aborted!
no such file to load -- rails_version
Thanks for your help.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at:
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious
about how Ruby Web Dev was done prior to rails. Any veterans want to
share their insights?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 Jun 19
2
Autocompleter enhancement feature request
Hello,
I have created a ticket for an enhancement of the autocompleter to show the
options immediately when the field gets focus. Right now at least one
character must be typed for autocomplete to kick in.
http://dev.rubyonrails.org/ticket/5435
I have also made some code changes directly in the script
Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2006 May 19
3
How to create a background task?
Hi All,
I''m a newbie for RoR. Now, I want to create a background task: send an email
at 6 pm every day. How can I create this task?
Thanks,
Rod Dong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060519/acde9ef9/attachment.html
2006 Feb 28
1
Cache Magic field for totaling
Hello,
Rails provide counter cache field for associations, I want a similar cache
for totaling up values
(say account_balance = sum_of_deposits - sum_of_withdrawals).
I was wondering if rails, already has another surprise in store for me, or is
there any plug-in or how-to for doing these kind of things.
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read the
2006 May 15
3
Page hit counter?
Hello all,
Yet another "don''t reinvent the wheel" n00b question:
Is there an ''official'' page hit counter plugin/code snippet/whatever? I
would need something like this:
- It is possibility to set a constant timespan (say 5 hours).
- On every page hit, save away @request.remote_ip and Time.new
- The counter gets incremented only if the same IP was here
2006 May 14
4
script/console on windows
Hiall,
When I try to run script/console from a windows command line like
f:\rails_app\ruby script\console
I get the following error:
F:/Programme/Ruby-1.8.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'': no such file to load -- initializer (LoadError)
from F:/Programme/Ruby-1.8.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
2006 Mar 08
4
Creatulator: Before I go and make it myself, does this exist...
Basically, on thing that annoys me to no end is that I am constantly
having to add things to my model that could just be reflected out by
the active record. I use PortGres exclusivly, and I know that there
are ways to ask the database things like, "what is the primary key"
"what relation does this foreign key belong to" etc...
So what I am about to go and write myself is a
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 Aug 04
5
image_tag + ActionMailer
Hi,
Any idea why image_tag doesn''t work within an email template? I''m trying to
generate the URL for an image and I''m getting the following error.
undefined method `request'' for #<Mailer:0x6a719e0>
I''ve been able to use link_to but no luck with image_tag.
I''ve seen a similar post to this in the list but no one has posted a
response.
2006 Aug 11
5
Why does no one like render_component?
Maybe I''m missing the point?
Lets take for example albums of pictures. If I have a scaffold for
each, and I''m showing an album, what if I want to list all of the
pictures that are in the album?
Surely, I''d want to call the List action in the picture controller.
render_component would do this perfectly. But we''re told not to use
render_component. So
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 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 14
1
Testing CRUD/Rest Controllers
I have a few simple controllers doing plain, simple crud in a standard way.
now it''s not very DRY to write a funtcional test for each controller, since
they are all doing the same (apart from a few variable names, but that could
be easily inflected or so).
is there a way to do this?
e.g. does inheritance work with tests, so i define a base test first,
inherit my other tests and add a few
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
>