Displaying 10 results from an estimated 10 matches for "taylorsingletary".
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 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 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 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/.
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 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
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 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 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 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.