Displaying 3 results from an estimated 3 matches for "300x200".
Did you mean:
200x200
2006 Feb 13
3
file_column: uninitialized constant Magick
...t/../config/../app/controllers/story_controller.rb:13:in `index''
This error occured while loading the following files:
story_entry.rb
magick.rb
It works fine without the :magick specification:
file_column :image, :magick => { :versions => { "medium" =>
"300x200>" } }
I am running OS X Tiger, and I installed RMagick following the
instruction here:
http://rmagick.rubyforge.org/install-osx.html
From command line, rmagick_test works fine.
However, it Rmagick seems to not work from file_column. I even tried
openning up environment.rb to add re...
2006 Sep 12
0
Bitmap file size problems
...h is higher than wide,
which is not what I expected after reading the docs.
(This also is true in R 2.4.0 alpha)
The alternative solution is to use dev2bitmap.
windows(3,2)
plot(1:10)
dev2bitmap(file="test.bmp",type="bmp256",width=3,height=2,res=100)
produces a bitmap of size 300x200 which is exactly what is to
be expected. In this bitmap, however, the leftmost
part of the image displayed in R's graphics window is cut off.
What is the best way of creating bitmaps of a given size
containing the full contents of an R graphics window?
--
Erich Neuwirth, Didactic Center f...
2012 Mar 05
8
Create a select with HABM
...quot;user", "id", Project.all.collect { |p| [ p.name, p.id ] } )
%>
But only show all my projects, but Iz don''t know who show only the user
in a determinated project.
class Project < ActiveRecord::Base
has_attached_file :image, :styles => { :medium => "300x200>", :thumb
=> "100x100>" }
has_many :item
has_and_belongs_to_many :users
belongs_to :category
belongs_to :color
belongs_to :icon
# kaminari
# https://github.com/amatsuda/kaminari
paginates_per 6
end
class User < ActiveRecord::Base
has_and_belongs_to...