On Thu, Apr 7, 2011 at 12:58 PM, Ichiro Saga wrote:
> Hi, guys. I wrote a rake task that called a method in model A.
> in app.rake
> task :update_number => :environment do
>A.update_method
> end
>
> in model A
> def self.update_method
>t1 = A.find.all
>...
>..
> end
>
> When
Hi, guys. I wrote a rake task that called a method in model A.
in app.rake
task :update_number => :environment do
A.update_method
end
in model A
def self.update_method
t1 = A.find.all
...
..
end
When I ran the rake task, it returned an error "undefined local variable
or m
On 9 March 2011 11:44, anu wrote:
> hi friend,
> If i am running the rake task in my rails 3 application
> i am getting execution expired.How to resolve this error
You will have to give us a few more clues. Which OS are you using?
Which versions of Ruby and Rails? Does rake go away
hi friend,
If i am running the rake task in my rails 3 application
i am getting execution expired.How to resolve this error
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-tal
4 matches
Mail list logo