Displaying 20 results from an estimated 28 matches for "singletari".
Did you mean:
singletary
2006 Dec 07
2
backgrounDRb problems with results and MiddleMan
Hi there,
I''ve been experimenting with implementing BackgroundDRb in my rails app but
am running into some problems.
The primary problem I''m getting is in cleaning up worker threads, or getting
any kind of response out of worker threads.
If try using the response function/hash in my Worker the worker will not
execute reporting that response is an unknown variable or function.
2006 Feb 03
2
acts_as_tree counter_cache behavior is different than API docs
Before I file a ticket, I''ll query ya''ll about this:
The API docs for acts_as_tree''s counter_cache is to create a database column
called "children_count" to hold the counter_cache. I have enabled this
option in my model. While writing tests I wrote a test for creating children
from the a parent:
message = @forum_message["parent"].find
child =
2006 Mar 16
2
Arrays of Model Objects, Intersections, Object Identification... ?
Hi all,
Hope you can help me with understanding how Ruby / Rails treats arrays full
of objects.
Let''s say I have to arrays of objects. Both are the same kinds of objects.
tomatoes = Fruit.find(:all, :conditions => [ ''tomato = ?'', true], :limit =>
10)
fruits = Fruit.find(:all, :limit => 10)
And I want to create an array of these objects called @my_fruits,
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
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
Hi there,
I''ve got a problem I''m hoping someone else has run into before and might
have some tips on.
I have an ActionMailer class where I''m manually including my application
helper along with simply_helpful for use in my html emal templates.
This works fine when calling the mailer class from another model class..
(example.. @order.deliver_emails would be a method
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?
Hi all,
I''m developing some custom routes for an application and am creating the
aliased url_for commands that I like so much. However, one of the things I''d
like to do is read a string from the session (or possibly even pull out an
object to get to the string) and use that in the URL generating by the route
-- without having to pass the string into the url_for alias every time.
2006 Jan 29
1
Reminder - links
Because these tend to get lost, here are 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:
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/.