search for: singletary

Displaying 20 results from an estimated 28 matches for "singletary".

2006 Dec 07
2
backgrounDRb problems with results and MiddleMan
...g wrong? Has anyone else had issues like this? I can get the thread to start if I take out all of my references to results and my filter, but then I have no way of monitoring it or stopping it. Thanks for any help. A previous version of this message was posted to the Rails mailing list. D. Taylor Singletary http://www.realitytechnicians.com -- D. Taylor Singletary Reality Technician "Look at my hair; like the design." -- David Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20061207/8f32...
2006 Feb 03
2
acts_as_tree counter_cache behavior is different than API docs
...ATE forum_message SET forum_messages_count = forum_messages_count + 1 WHERE (id = 1) The docs do not mention creating a table column based on the model name. Is this the now intended behavior? Where is it documented and can the name of the column be overridden? Thank you for any help. D. Taylor Singletary -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060203/82d2c88b/attachment.html
2006 Mar 16
2
Arrays of Model Objects, Intersections, Object Identification... ?
...an each loop on the likely smaller of the array to test whether the other array ".include?"s the object? Would this be considered more reliable? Example: @my_fruits = fruits tomatoes.each do | fruit | @my_fruits.push(fruit) unless @my_fruits.include?(fruit) end Why? Thanks. D. Taylor Singletary, Reality Technician -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060316/c72add66/attachment.html
2006 Apr 06
2
Strange Error at the end of a succesful Migration
HI all, I''ve got a migration that creates a few new tables and populates a bunch of data into those tables from existing models. It works great. As expected. Tables are created. Relationships are made. Everything comes out fine as far as the data goes. But for some reason the migration task ends with this error: rake aborted! negative argument I''ve liberally sprinkled my
2006 Dec 29
2
Rails SQL Views 0.5.0 Released
Rails SQL Views 0.5.0 is now available from http://rubyforge.org/frs/?group_id=2435&release_id=8685 and shortly as a Gem (gem install rails_sql_views). More information on Rails SQL Views can be found at http://activewarehouse.rubyforge.org/rails_sql_views/ This release finally fixes the SchemaDumper issues, including the necessary select statement for the view. It also introduces PostgreSQL
2006 May 16
10
Date verus Time class
I''m using the date_select and datetime_select helpers in my view, and they return Date classes from the params hash. But how do I work with Date classes, they don''t print human readable dates or times, Time classes work well I can use strftime("%H:%M") to print to the screen. Is it possible to convert a Date to a Time, Ive been tinkering in irb but have got
2006 Jul 20
1
Scriptaculous + Sortable: onUpdate Not Firing
Hello all, I''m using Scriptaculous 1.6.1 on a project I''m developing. My generated HTML (generated by PHP) looks something like this: <ul id="admin-list"> <li id="li-13">Singletary, Bob (President/CEO)</li> <li id="li-12">Chatman, Jim (Vice President of Finance/CFO)</li> ... </ul> <script type="text/javascript"> Sortable.create(''admin-list'', { onUpdate: function() { alert (''Updated!'...
2006 Dec 16
2
comments on hostingrails.com and railsplayground.com ?
hey all, Im looking at switching from bluehost to a new provider. Mainly for Mongrel, trac and SVN support. I was hoping to get some feedback on the above mentioned hosting companies I have posted this as part of an existing ''what privider would you reccomend topid'' But have considered it and decidec it deserves its own topic. cheers, Adam -- Posted via
2006 Feb 22
15
Fixtures and Relationships
In my daily development, I migrate back and forth between versions, and often do: rake load_fixtures... ... in order to populate my development database with fun data. Now, with any HABTM relationship, there are failures, as there is no way to say "which" fixtures to load first. Within an actual functional or unit test case, you could simply load them in the proper order, but
2006 Apr 08
7
How to create your own markup language ?
I''m actually looking to create my own markup language, after a look to the greats markdown and textilize markup languages they seem to be more complexes that what I need, so not feating with my application. Any help is welcome ;-) -- Grosjean S?bastien
2006 May 23
11
New "made with Rails" site launched: www.invitika.com
We''ve finally finished up work on our application and are now beginning our beta. The site (SMS+mobile blogging+event planning+LBS+photos) is built using 100% Ruby on Rails. Many thanks to all the people who answered questions over the months on this list. Our experience with Rails was overwhelmingly positive! We''d love to hear any feedback you might have:
2006 Jul 10
5
simple TOS based setup vs more complex ones
Hi, After reading section 9 of LARTC it seemed to me that a pure TOS based QoS setup with be sufficient for a small newtork. Interactive packets could have the highest priority, second highest for DNS and small HTTP packets and lowest prio for all others. The advantage is that, the setup would be simply a couple of iptables lines, because the default pfifo_fast qdisc already implements
2007 May 21
0
Helpers not available to ActionMailer classes in backgroundrb
...e even tried including them within my worker library), I get an error triggered when sending emails out that it couldn''t utilize my helpers. Has anyone run into this and possibly have any advice to make my workers aware of the directives I have in my ActionMailer class? Thanks. D. Taylor Singletary, Reality Technician http://realitytechnicians.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070521/e8784479/attachment.html
2006 Apr 22
1
Newbie question about using helpers in controllers
I''m trying to display a list of pages in xml. I want to change page.update_at to distance_of_time_in_words_to_now. However whenever I run it I get an error saying: undefined method `distance_of_time_in_words_to_now'' I know I can just go the rails api and copy the source, but there must be another way. def list @page = Page.find(:all, :order => "updated_at desc")
2006 Mar 04
0
Reading from Session in routes.rb?
...uld I put that-- in the application helper? (doesn''t quite seem right).. Did this make sense or do I need to restate my problem? :) I want a route -- :label/:controller/:action/:id -- where :label comes automatically from the session. Thank you for any help in this direction. D. Taylor Singletary, Reality Technician -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060304/8d13e51a/attachment.html
2006 Jan 29
1
Reminder - links
...e some links that I think everyone should know about: wiki: http://linux-net.osdl.org API: http://www.coverfire.com/lql/ Stef Coene: (Broken? I hope not. This is excellent stuff!) http://www.docum.org/docum.org/ Jason Boxman: http://edseek.com/~jasonb/articles/traffic_shaping/ Dan Singletary: http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/index.html Emmanuel Roger: http://www.prout.be/qos/index.html -- gypsy
2005 Jul 12
2
QOS problem -ng
ok i gave up. can sb point me docs on how design proper qos rules ? about differences between them and the usage (which for wifi, which for ISPs which for homenet) ill read and do it -- *Dariusz ''tdi'' Dwornikowski | Gentoo | admin at pozman.pl | *[JID]:tdi@gentoo.pl|[gg]:2266034|[IRC]:#gentoo-pl@freenode | *[MAIL]:tdi@pozman.pl|[WWW]:www.tdi.pozman.pl |
2007 Jul 24
1
Popup Content Without Application Layout
I am building a page that uses ThickBox (http://jquery.com/demo/thickbox/) to display details about a record. A user clicks a link on the page and a ThickBox pops up showing the record as HTML. Unfortunately since I have an overall layout setup in my application layout, that HTML is showing in the small popup box and it doesn''t match. How do I remove the added layout for just this
2006 Mar 09
6
[ADV] New version of Rails Recipes Beta is available
Folks: For your cooking pleasure, I''m happy to announce that Chef Fowler has added eight new recipes to his book: * DRY Up Your Database Config * Adding Behavior to Your ActiveRecord Associations * Keep An Eye On Your Session Expiry * Make your URLs Meaningful (and pretty) * Syndicate Your Site With RSS * Handling Bounced Email * Dynamic Database Configuration * Quickly Inspect Your
2006 Mar 07
6
Anybody use Red|Blue Cloth?
Does anybody use and prefer Redcloth (or bluecloth, which appears to be alpha)? Does it affect performance much? Is there a way to get it to automatically process templates without having to call textilize? Thanks, Joe -- Posted via http://www.ruby-forum.com/.