search for: javathehutt

Displaying 12 results from an estimated 12 matches for "javathehutt".

2006 Sep 20
5
[Slightly OT] Uploading files with firefox
...e and do that is not something that I''m willing to do, so I''m wondering if anyone out there knows how to change this on the fly or if there''s some other trick to make firefox behave during a file upload? Or are others not seeing this problem at all? -Michael http://javathehutt.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060919/53c8b498/attachment.html
2007 Jan 02
10
problems with apache 2.2 proxying to mongrel cluster
...it has to be a mysql connection timeout but again, the fact that 1 of the 4 always works doesn''t lend credence to the timeout theory. Has anyone experienced this phenomenon themselves? Thanks for any tips/pointers and thanks Zed for all your hard work with mongrel. -Michael http://javathehutt.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070102/2657856d/attachment.html
2007 Mar 08
6
NetBeans IDE 6.0
Hi there ! I came across the NetBeans IDE and also the screencasts. Here are the links for screencasts: http://blogs.sun.com/roumen/entry/two_demos_jruby_on_rails D/L Link : http://nbi.netbeans.org/m11/download.html I''m now on Kdevelop and not yet tried NetBeans and its ~80 Mb of D/L. If any of you had tried it out, do post your views. -- Arjun.
2007 Feb 05
3
Deploying to production with backgroundrb (capistrano)
I have noticed that occasionally (about 50% of the time) when i deploy (using capistrano) my app to a production server, i have to ssh into the box and manually stop and start backgroundrb to get it to load my workers. this is my basic setup i have 2 workers: lib/workers/mp3_worker.rb => takes a hash of params to downsample an mp3 lib/workers/flv_worker.rb => takes a has of
2006 Jul 03
0
AJAX modal dialog using RJS
...that can submit a form and not perform a full page refresh. I solved my problem but I''m wondering if others out there have had need for this and how they solved it? I''m not completely happy with having to hack for IE6 but what else is new. I blogged about it here: http://javathehutt.blogspot.com/2006/07/rails-realities-part-15-ajax- modal.html Would love to hear if others have created a similar implementation and how they did it, especially if it''s even simpler :-) -Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://w...
2007 May 14
0
For sale - RailsConf ticket
...that are better suited please let me know. I have a ticket for sale for the sold out rails conference this upcoming week. If you''re interested drop me a line (kovacs at gmail). I signed up early so I''m just lookin to recoup my fee of $600 or whatever it was. -Michael http://javathehutt.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from thi...
2006 Dec 11
2
Custom Validator
I want to add a custom validator in one of Model. For example Rails has inbuilt validation methods like validates_uniqueness_of, validates_presence_of . What I need is a similar kind of method (example: validates_line_items), that can run my custom code while saving, updating the record and can add custom error messages to the record. Please help me by suggesting how i can do this. -- Posted via
2006 Jul 20
3
sort_by with via a parent models child
I am having a problem with ruby''s sort_by function. I want to sort a list of parent model objects based on the children of the parent models. Normally you might say sortedList = modelList.sort_by { |model| model[''someAttribute''] } What I am tring to do is sortedList = modelList.sort_by{ |model| model.children.find(:first, order=>"price desc" ).price}
2006 Jul 20
7
Can this be done?
What I want: I get a normal http request containing a URL from a remote server. Instead of redirecting to that URL, I want to load it into an iframe on an existing page. I''ve tried a number of approaches with no success. Can anybody suggest a good way to do this? Alternatively, if you can say "this is bloody impossible, because....", that would be helpful, too. --Al Evans
2007 Jun 13
6
ActiveRecord query using association
Hello all, I apologize if the answer to this question is going to be rudimentary, but I am thus far stymied by the information I have found on the web. This seems like it should be simple, but I haven''t really found an example of how to do this yet. I have a model called Account which has a belongs_to reference to another model, User, as below: class Account < ActiveRecord::Base
2007 May 23
10
Modifying Conditions for has_many at runtime in controller?
I am attempting to bring Rails into my company, and so far I have been able to impress the senior managers with the flexibility / configurability of Rails on ActiveScaffold. I have hit a point now where I am stumped, and would really appreciate the help of the community. I have a Person ActiveRecord model that has_many Orders. class Person < ActiveRecord::Base has_many :orders end I am
2006 Aug 31
40
Rails Deployment Book
I''ve been mulling over an idea for a book covering Ruby on Rails application deployment. Obvious topics include using Mongrel by itself and with Apache/Lighttpd, load balancers, memcached, and Capistrano. What other topics would you like to see covered in such a book? Cheers, -- Dave Murphy (Schwuk) http://schwuk.com