Displaying 8 results from an estimated 8 matches for "magicmat".
2006 Mar 18
1
Fixtures and single table inheritance
I''m wondering what the accepted method for doing unit tests on STI models is.
I tried to create a fixture for the class but Rails tries to load that
data into the non-existent child table. I could create a fixture named
for the real, parent table, but then it would be very difficult to
test for the individual functionality and integrity of each sub-class.
I saw this page
2006 Mar 05
4
Help implementing a 43things-like ''activity'' measurement
I''m trying to implement something in my app akin to 43things'' main
page, where more active topics are bigger than the less active topics.
The difference in my app is that I''m building a business-oriented app
and want to have a list of clients, where clients with recent activity
are larger than others.
My perhaps too-clever way of going about this is by feeding each job
2006 Mar 20
9
jEdit Snippets for Ruby on Rails
-----------------------------------------------------
Announcing: jEdit Snippets for Ruby on Rails
-----------------------------------------------------
I thought I''d "give a little back to the community" and whip up some
SuperAbbrev files for ruby and rhtml that mimic all of the Textmate
Rails bundle snippets.
Note: This was totally inspired by Textmate and the syncPEOPLE
2006 Feb 17
21
''Best'' IDE for testing and debugging
I''m trying to decide which IDE to go with for RoR development. I put a high premium on integrated test automated tools and debugging capabilities. I''d appreciate any sharing of experience.
I''m currently running Instant Rails on a Windows 2000 box (using IR due to problems I encountered trying to get all the components set up individually). Also, I''m using
2006 Mar 07
0
Overriding date helpers in a logical way
Short story: I need to use a different style of inputs to enter
datetimes. What I want is to be able to implement these while still
retaining the niceties of the built-in input helpers, like
ActiveRecord error handling and automatic reconstitution of a single
Date object from multiple form elements. What''s the best way to go
about this?
Long story: My form has one standard month
2006 Mar 22
1
An easy one: Accessing fixture data in 1.0+
OK, we all know that Rails turned off instantiated fixtures by default
in 1.0. That''s not a problem. However, what I''m now wondering is how
to access the raw fixture data out of the YML file (as opposed to the
database.) Mainly, for comparing my database results with my expected
results in a DRY way.
The book says if you have the command "fixtures :foo", that
2006 Jan 26
0
Problems with Socket#write and all that depend on it
Hi all,
I''m having a very, very vexing problem regarding Socket#write and,
therefore, all scripts that depend on it (including WEBrick, thus the
Rails angle.) I posed this problem to the ruby-talk list, but I didn''t
get a response there, so I pose it to you fine people.
In short, my problem is that Socket#write doesn''t return, it just
hangs. I''m using
2006 Apr 09
1
RadRails question
I do apologize for asking this question here, but it seemed like the
appropriate place:
I keep trying to move from jEdit to RadRails for my ruby/rails
development but there are a few things holding me back. I''m wondering
if anybody could tell me whether these features are truly missing, or
if I''m just missing how to make them work.
Firstly, it doesn''t truly auto