search for: resource_pages

Displaying 3 results from an estimated 3 matches for "resource_pages".

2006 Jan 30
2
:condition not being applied
I am using acts_as_taggable and everything seems to be working except that :condition => "tags_resources.portal_id=#{portal_id}" is not being applied. @resource_pages = Paginator.new self, Resource.find_tagged_with(:any => tag, :condition => "tags_resources.portal_id=#{portal_id}").length, 25, @params[''page'']; @resources = Resource.find_tagged_with( :any => tag, :condition => "tags_resources.portal_id=#{port...
2006 Feb 05
4
Another layout question - Layouts on a per method basis - Layouts with AJAX
...snippets/posts/show/386). However since the layout has already been defined, every time I click on the page number, the entire page including the header is loaded again within my div. I cannot find how I can turn off the layout conditionally or alltogether only for subsequent calls. Since my @resource_pages collection is retrieved in a method that has a layout defined "globally" how can I turn off the header for subsequent pages only? I hope I am making sense here. Thank you for making me a part of this wonderful community. Frank --------------------------------- Yah...
2006 Jun 08
1
Permissions on uploaded files, TinyFile
Hi, im getting a little trouble with this, im using TinyFile as the example to upload files http://wiki.rubyonrails.com/rails/pages/TinyFile/versions/20 All goes well but the files uploaded are saved with permissions 600 (linux) and in the case of images arent showed on the browser(but uploaded and stored in the server without problems) i have to manually ftp to the uploaded files folder and