Displaying 20 results from an estimated 160 matches similar to: "has_images"
2005 Dec 28
3
Module loading
I''ve looked high and low for the answer to this and can''t seem to find
anything that helps.
I have an admin section (much like Typo) where all controllers are based
on the Admin::BaseController.
My directory structure is
[RAILS]
-app
--controllers
---admin
----base_controller.rb
----products_controller.rb
Products controller is:
class Admin::ProductsController <
2012 Mar 14
1
Just in time AV scanning
I'm curious if anyone has any plugins for AV integration directly into
dovecot.
Our old pop servers have been scanning messges as they're moved from
new->cur in the inbox and, at least where user's aren't poping every
few seconds, there is occasionally enough time between scanning through
the MXs to message retreval to snag a few more virues with updated
definitions before
2007 Oct 16
1
Adding axis lines to splom plots
Hi,
I am trying to produce a 30x30 lattice grid. The 30 variables naturally
fall into three groups of ten and I would like to add thicker axis lines
around these to highlight this. However, I can only do this separately,
so far, and I don't know how to superimpose the grid with the thicker
lines (separating the 10x10 groups) onto the overall grid of all 30x30
plots. I enclose a
2006 Aug 23
0
Rotating Images with file_column
Hi everyone,
I have a photo site that I''m making and I''m using file_column to
handle the auto-generation of several "version" of each photo:
essentially thumbs and fuller-sized version. The full sized versions
retain the original''s proportions, whereas the thumbs are all 4:3.
This means most of the thumbs are cropping the original. This all
works great, but I
2005 Jun 30
2
Find by ID plus conditions -> ActiveRecord::RecordNotFound
Hi
I''m trying to understand the AR find facilities, described here:
http://api.rubyonrails.com/classes/ActiveRecord/Base.html#M000650
I have a list of ids that I want to retrieve, but have a condition that
should restrict the list returned:
return self.find(
noteids,
:conditions => [ "(private = 0 OR (private = 1 AND user_id = ?))", userid]
)
According to the
2006 May 17
1
what does it mean when "lm.gls" says that the weight matrix has wrong dimension?
If first fit my data column V1 to column V2 using normal "lm" fitting,
call it "fit1",
then I used "acf(fit1$residuals, type='cov', 40) " function to obtain the
autocovariance of the residuals,
and then constructed a autocovariance matrix, I chose it to be 40x40.
Call this autocovariance matrix B,
I then use the following "lm.gls" function to
2003 Jun 30
1
preexec, logging, and my problem
okay so after trying a bit to understand how all of this works i think i
need a bit more support.
thanks to joel, my problem where users can log on multiple times looks like
it has a solution.
to prevent this, he outlined a process by which one can monitor the process
IDs of samba users, then user smbstatus grep for that user, find the
process id, and then do whatever i want with them.
in this
2009 Sep 01
1
X11 plot window sizes
Hi,
I'm not understanding how the width & height parameters are
supposed to work. When I execute the following 4 commands:
X11()
X11(width=20, height=20)
X11(width=20, height=10)
X11(width=40, height=40)
I get the following *approximate* physical sizes on my screen:
6" x 6"
8" x 8"
12" x 6"
8" x 8"
For now I'm assuming that my pointsize
2004 Dec 26
3
Help building online game
Now I just need some helpful hints from the community as to what I
could use to display a hexagonal playing field of about 40x40 hex
units. Trying to build an online strategy game with Ruby on Rails.
Working out the methodology on paper and then scaffolding some. Any
ideas which technologies I could possibly use ? other than just
simple .gifs as icons and maybe overlayed css graphics ? Would
2005 Sep 05
3
help
Dear helpeRs,
I seem to be a little bit confused on the result I am getting from the
few codes below:
> u=v=seq(0,1,length=30)
> u
[1] 0.00000000 0.03448276 0.06896552 0.10344828 0.13793103 0.17241379
[7] 0.20689655 0.24137931 0.27586207 0.31034483 0.34482759 0.37931034
[13] 0.41379310 0.44827586 0.48275862 0.51724138 0.55172414 0.58620690
[19] 0.62068966 0.65517241 0.68965517 0.72413793
2008 Jun 12
0
On Hold "Context"?
Hi list,
I have some on hold "activities" that I would like to implement and I'm just
wondering if there is a way to do it. Here's what I'm thinking:
While a caller is on hold, they could have the option to do things like
retrieve weather, news, play blackjack( ala tellme), etc. These are all
things I could do in the conventional method of sending someone to a
context,
2007 Dec 21
0
Plotting multiple jpegs on a plot?
Hello,
I have a set of data which I currently represent graphically on a plot. To
do that, I use the embedded functions from the graphics package (symbols,
rect, etc.) However, I would like to use static jpeg images to represent the
data if possible. Here's my progress so far:
1. Used the rimage library to obtain the read.jpeg func.
2. Read in my jpeg image and assigned it to a variable.
3.
2007 Dec 29
1
url_for_file_column not works
I am using the file column plugin.
If i upload an image it works correctly but if i want to show an image
it not works.
in my template i insert
url_for_file_column(@core, "image", "thumb")
but return ""
i tried to print @core.image but it is set to nil.
My model is this:
class Core < ActiveRecord::Base
has_one :forum_topic
has_many :votes
has_many
2007 Dec 02
0
attachment_fu doesn't generate thumbnails on windows
Hi,
I''m having trouble with attachment_fu on windows not generating any
thumbnails on the fly. I started out trying to incorporate this into my
app without success then tried implementing Mike Clarke''s tutorial
(http://www.clarkware.com/cgi/blosxom/2007/02/24) and got the same
problem.
I have resolved some gotchas I found in the "attachment_fu on Windows"
thread
2001 Jun 12
1
cophenetic matrix
Hello,
I analyse some free-sorting data so I use hierarchical
clustering.
I want to compare my proximity matrix with the tree
representation to evalute the fitting. (stress, cophenetic correlation
(pearson's correlation)...)
"The cophenetic similarity of two objects a and b is defined as the
similarity level at wich objects a and b become members of the same
cluster during the course of
2010 Oct 06
1
R getting slower until it breaks...
Hello R-users,
I'm currently facing a pretty hard problem which I'm hopping you'll be able to help me with. I'm using R to create images. That alone is not the problem, the problem is that I'm using R to create 168 000 images... My code (which is given below) use different package (raster and rgdal) to import a image (size 20gig) and divide it into 168 000 pictures that are
2014 Apr 11
1
Bug: noveau DATA_ERROR / CACHE_ERROR on Quadro NVS 290
Hi, there!
Every once in a while / about once a day I have nouveau for a Quadro NVS
290 failing in my
system from about kernel 3.10...up to now 3.14, so I finally decided to
report this bug as
it gets really annoying. After the bug appears, there are some (one per
DATA_ERROR line)
small 20x20 to 40x40 pixel sized odd shaped white block artefacts stuck
on my (dual monitor)
desktop. After a restart
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything
works perfectly except the thumbnail column in my DB is alwas NULL.
I''m using S3 as my storage system. Anyone else having this issue with
thumbnails?
has_attachment :content_type => :image,
:storage => :s3,
:max_size => 500.kilobytes,
:resize_to =>
2018 Dec 05
4
Where's the optimiser gone? (part 5.a): missed tail calls, and more...
On Tue, Dec 4, 2018 at 3:58 PM Daniel Sanders via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On Dec 4, 2018, at 15:11, Stefan Kanthak <stefan.kanthak at nexgo.de> wrote:
> No, I understand his intent. I just doesn't align with my intent,
> including the hoops he/LLVM wants me to jump through.
>
> He's not saying they're your bugs, he's just saying
2006 Mar 25
3
Rails Plugins: Why to register your own functionality with send()?
Hi there,
I have seen in the file column plugin (
http://www.kanthak.net/opensource/file_column/) from Sebastian Kanthak or
David''s acts_as_taggable plugin that to register my functionality I need to
do something like this:
ApplicationHelper.send(:include, InPlaceEditAssociations)
I am wondering why not:
(a)
module ApplicationHelper
include InPlaceEditAssociatons
end
or:
(b)