Displaying 3 results from an estimated 3 matches for "m000452".
Did you mean:
000452
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,
2008 Feb 07
11
Multiple Views within subfolders
Hi,
I am creating an application in which I am allowing users to have
customized views of a form. These forms do not have to be customized
at this point by the user, but will for now be customized by us, and
uploaded to the server.
My idea was to take the similar approach done by the plug in
acts_as_attachment, and, have a default layout stored in the normal
views/controller_name folder, but
2008 Jan 15
3
Importing file in html (noob)
Hi People,
I''m pretty new to rails so please bear with me on this.
I''m wanting to pull a text file into my rhtml page to use as the header
part of my site. I know I can use layouts but it isn''t pratical for my
problem as there could be hundreds of user made headers.
So there are two ways I can see this happening. One is to store the
location of the file in the