Displaying 6 results from an estimated 6 matches for "negrate".
Did you mean:
negate
2006 Jul 02
11
Rails Plugin: meantime_filter for controllers (actions within blocks)
...http://roman2k.free.fr/rails/meantime_filter/0.1.0/rdoc/
I will post the URL of the RubyForge project here in this topic if/
when it has been accepted.
MORE
This plugin is tested. Unit tests are included in the plugin archive.
Reply to this topic or email me for help or questions.
Roman LE NEGRATE
2006 May 31
6
habtm on an array (or object.habtm.habtm)
Hi,
I have three Models: User, Group and File.
User habtm groups
and
Group habtm Files
How can I find all files that a particular user has access to?
eg user.groups.files ?
As user.groups returns an array, the above doesn''t work.
Id like to find the files for all groups in that array, without adding
any code to the User model.
Thanks in advance
PS I just posted this in the
2006 Jun 03
6
Calculating row COUNTs
hi everyone,
I''m trying to do a simple calculation in my rails project. I would like
to find all rows in a table that match the given id of another table
(ie. comment_id) and has the value = 1 ("value" is a field in the
table), then add those values up. Next find the same rows with the
value = -1 and add those values up also. Finally, I would like to find
the total.
2006 Jun 11
4
Model records are not saved to database in during tests
Hi,
I''m trying to do unit tests which should save informations into a
database that another computer should be able to get while the test
is running.
The problem is although my unit test class has
"use_transactional_fixtures" set to false, when I create a new
instance of a model and save it, it does not actually appear in the
database when connecting to this same
2006 May 27
29
deploying R_o_R to local servers
Hi!
I''m pretty amazed by the features of RoR so far. But, as I come from the
desktop application development, my clients expect to run the magic on
their domain rather on a foreign one. Also I feel uncomfortable giving
away my RoR code to some hosting company, because I''m planning to do a
large application.
As I understand, RoR is designed to run on central web-servers and not
2006 Dec 25
1
TextMate command to display ActiveRecord model attributes
I''ve written a TextMate command bundle that reminds you the database
columns of an ActiveRecord model displaying them in a tooltip just by
selecting the model name (for example "Account") anywhere in your
code and hooking up the bundle (the way you''ve chosen in the bundle
properties).
It''s available here: