Displaying 20 results from an estimated 49 matches for "contuitive".
2006 Jul 22
4
Accessing the controller name in your views?
...:
<% if params[:controller] == "whatever" && params[:action] ==
"whatever" %>some html<% end %>
I know in the controllers you can just use controller_name, but that
is not provided in the views.
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060722/00d23b12/attachment.html
2006 Aug 06
3
Debugging a worker?
If there is an exception raised in my worker I rescue it and throw it
into the log. This is decent, but it would really help to find out
more information. Like the line number, the stack trace, etc. Is this
possible?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060806/f1d4a33f/attachment.html
2006 Jul 17
4
how to invoke model methods in controller & vice versa
hello
how to invoke model methods in controller & vice versa
please explain with examples
advance thanx
--
Posted via http://www.ruby-forum.com/.
2006 Aug 01
4
Creating workers from workers?
Since MiddleMan is an uninitialized constant in a worker how do you
create new workers inside a worker?
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060731/75a77fa6/attachment-0001.html
2006 Jul 11
1
Determine if attributes changed?
Is there a way to determine if attributes were changed? Let''s say in
the before_save or after_save method?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060711/442b20d2/attachment.html
2006 Aug 24
1
ActionMailer doesn''t work in backgroundrb
...Can
anyone confirm this? Because when I try to do
Notifier.deliver_some_method I get an error saying it cant find the
templates for my email. The funny thing is that when I run script/
runner Notifier.deliver_some_method it works just fine. Any ideas?
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060824/9210b250/attachment.html
2006 Jul 31
1
Creating workers on server startup?
I have workers that need to be created when I run rake
backgroundrb:start. Where do I put this code?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060731/d201c052/attachment.html
2006 Jul 31
1
delete_worker doesn''t kill the thread?
...After I did that the other console that was monitoring my log
continued to add a line every 2 seconds, it didn''t stop.
Am I missing something here or shouldn''t deleting a worker stop the
loop and kill the thread?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060731/6d22b016/attachment.html
2006 Jul 19
1
How to add validation to in_place_editor
...end
The problem is that if there is an error that is rescued it sets that
field to the output of the error. What I''d like it to do is pop up a
little javascript window like it does if an exception goes uncaught.
Any ideas?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060719/94d7301f/attachment.html
2006 Jul 22
3
How to use variables in your layout views?
...Because I was under the impression that you really don''t want to do
this in your views. You should do this in your controllers and pass
the result to your views. But where do I do global actions like this
in the controllers?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060722/96651382/attachment.html
2006 Jul 20
9
Including children''s children?
a has many b''s
b has many c''s
results = A.find params[:id], :include => :b
How do you also make sure the b''s include the c''s?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060720/1c277961/attachment.html
2006 Aug 19
7
Impossible to get stable?
...saction:
#<ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone
away:
What have you found to be most stable? Setting allow concurrency to
false and just putting a Mutex.synchronize object around all database
calls? Or setting it true?
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060818/d4bef568/attachment.html
2006 Jul 23
6
Best way to sort the emails in a mailing list?
...39;ve been involved with, you could
move it to another folder.
I''ve looked at the email headers and can''t find out a way to do this.
It kind of sucks having to sift through 200 emails to find replies to
my question.
Thanks for the help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/3c80c581/attachment.html
2006 Jul 09
1
Drop down menu in rails?
Does rails have a nifty utility for creating javascript drop down menus?
Thanks for the help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060709/869e8e30/attachment-0001.html
2006 Jul 15
1
Is there a huge performance difference between using multiple periodically_call_remote functions or one?
...ng at the same time. Is this bad for performance?
Would it be better to call that function once and just pass it the
view that I''m on and give back anything that the view needs?
Basically merge these 3 function calls into one.
Thanks for the help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060715/206f4259/attachment.html
2006 Jul 17
2
after_save deletes is an exception is raised?
...ve in a model delete if an exception is raised in there?
I simply did
def after_save
raise ''hmmm''
end
and it raised the exception but there was nothing in the database. I
removed that entire method and its in the database. Is this correct?
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060717/a4a9ba34/attachment.html
2006 Aug 19
1
Setting the process priority?
Is it possible to make the process priority higher for backgroundrb?
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060819/7a2e6d1b/attachment.html
2006 Jul 07
2
Problems installing, please help
...project directory and I ran the following command:
script/plugin install svn://rubyforge.org//var/svn/backgroundrb
and I get this:
sh: svn: command not found
Any idea how I can install backgroundrb or what the problem is?
Any help is greatly appreciated.
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060707/fbadd3a2/attachment.html
2006 Jul 07
1
uninitialized constant MiddleMan
...9;'
#{RAILS_ROOT}/app/controllers/events_controller.rb:16:in `create''
/usr/local/bin/mongrel_rails:1
This error occured while loading the following files:
middle_man.rb
Supposedly I dont have middle_man.rb any ideas?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060707/66b9a868/attachment.html
2006 Jul 19
1
Passing objects to drb, does it keep the existing db connection?
...e object is
not any different than passing the id and using the find method?
Because when I try to inspect the object that has been passed over I
don''t get the typical .inspect output that you get from object of
models.
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060719/cb2d4bfb/attachment-0001.html