search for: default_styl

Displaying 4 results from an estimated 4 matches for "default_styl".

Did you mean: default_style
2009 Oct 03
2
Looking for a good resource on open-uri and FileUtils
...the Paperclip Storage module to handle external URL''s so that I can upload my doc''s/images to an external source rather than the app''s local file system. The FileSystem module reads module Filesystem def self.extended base end def exists?(style = default_style) if original_filename File.exist?(path(style)) else false end end # Returns representation of the data of the file assigned to the given # style, in the format most representative of the current storage. def to_file style = defau...
2007 Dec 03
4
How to remember if a div is shown or hidden after a page ref
Hi everyone, hi have a similar problem in a view: <div id="content">...</div> <a href="javascript:void(0)" onClick="Effect.Toggle(''content'');">Hide/show content</a> I would like the page to "remember" that the div has been hidden after a page reload. (The div comes up always visible even if it was set to hidden
2009 Aug 17
0
Paperclip: processor proc not firing
...rs: &id001 !ruby/object:Proc {} For clarification, my Paperclip method in the model: has_attached_file :asset, :styles => { :full => "1920x1080", :medium => ["205x154", :png], :large => ["450x",:png] }, :default_style => :full, :url => "/ uploads/:attachment/:id/:style.:content_type_extension", :processors => lambda { |a| a.video? ? [ :video_thumbnail ] : [ :thumbnail ] } I''m completely stumped here, the VideoThumbnail class is never cal...
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here: http://wiki.developers.facebook.com/index.php/Facebook_Styles I included testing and comments. I hope you find it useful. Curiously, it''s really a small extension of FBML. Richard -------------- next part -------------- Index: test/rails_integration_test.rb