Displaying 20 results from an estimated 723 matches for "paints".
Did you mean:
pains
2010 Oct 12
2
STI and :through, not working?
Artist.first.medias returns all medias. Media is an STI. Media can be
video or painting.
How do I return all paintings of an artist? Only paintings, not
videos?
In my Artist model, I tried putting:
has_many :paintings, :through => :medias
In console, I do:
Artist.first.paintings.all
And I get:
ActiveRecord::HasManyThroughSourceAssociationNotFoundError: Could
not find the source
2006 Feb 17
1
validate() with has_many association
I''m creating a simple portfolio site for a painter. I have a painting
and an image model with following relationship:
Painting
has_many :images
Image
belongs_to :painting
On the edit screen the user can edit the Painting data as well as upload
pictures for a thumbnails and full size image. The Image model extracts
filename, width, and height from the uploaded file, saves those
2006 May 22
4
use join table in paginate
How come I allways immediately run into difficult stuff when I''m trying
some new programming language? Am I blind for the simplicity of
Ruby/Rail, which a see must be there? Anyway, don''t try and answer this
rhetoric question. I have got another one for you, seemingly difficult.
I''m struggling with a n:m relationship (in a database, that is) and its
join table.
2010 Oct 11
12
Need advice on controller / view
Need some advice. I''ve got two modules: artists and paintings.
In my home page, I''ve got a 2nd page that says "Browse paintings",
which displays ALL paintings of ALL artists. This is being rendered by
paintings#index.
In another page, I should show all paintings of a specific artist
ONLY. Meaning, paintings from ONE artist. I cant use paintings#index
for this anymore
2010 Jul 24
4
Wine 1.2-GIT: Compiler error in user32/painting.c
I got the following compiler error with Wine 1.2-GIT (up-to-date checkout):
Code:
make[1]: Entering directory `/home/quix0r/git/wine/dlls/user32'
ccache gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_USER32_ -D_WINABLE_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g
2007 Apr 09
2
Paint chanegs block dbus and fuse plugins
I was writing a simple plugin a while ago which just
sets the paint values on inactive windows. The plugin is
very simple and the main part is below.
When I load this plugin it blocks dbus and fuse plugins
so that they only reply to requests when the active window
changes.
Is there anything obvious here that would cause that?
static Bool
inactivePaintWindow (CompWindow *w,
const
2011 May 20
12
MS Paint with wine?
Hi all,
I'm relatively new to Ubuntu and I will most likely install WINE on my next desktop for gaming.
However my present puter is an Acer netbook and I would like to run MS Paint on it. I know you will tell me there are a lot of other Ubuntu apps that can do the job but I want MS Paint and it would be nice if I didn't have to log in and out of OS's just to access MS Paint from time
2007 Apr 12
1
[PATCH] Transparent cube
...;m painting all the faces of the cube when using inside
cube (only when transparent), while some faces are never visible.
This is needed when zooming out the cube, so i think this is a good
idea anyway, but i'd like to know what you think about it.
- Unredirecting fullscreen windows is done by paintScreenRegion which
finds the top-fullscreen window. When doing FTB drawing, it will find
the bottom-fullscreen window, and when doing both BTF / FTB drawing,
it'll find the top and the bottom fullscreen windows. I'm not sure
weather this is really wrong, so again I'd like to hear your opi...
2006 Sep 29
5
ObjectPreviouslyDeleted when trying to paint
Hi,
I''m running into something along the lines of bug 5383. I''m hoping I''m
doing something obviously wrong and that someone can point me in the
right direction.
I''ve got a custom paint event handler:
def on_paint
puts "mainframe on_paint"
paint do |dc|
dc.clear
@cl.draw dc
end
end
Then I''ve got a key press
2007 Apr 29
0
[983] branches/wxruby2/wxwidgets_282: Make Window#paint work both inside and outside a paint event handler,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 31
0
Amazing art work - Paint Mona Lisa on MS Pint
How to Paint Mona Lisa with MS Paint
<http://arts-artists.blogspot.com/2007/03/how-to-paint-mona-lisa-with-ms-paint.html>
Amazing
Art work<http://arts-artists.blogspot.com/2007/03/how-to-paint-mona-lisa-with-ms-paint.html>
http://arts-artists.blogspot.com/2007/03/how-to-paint-mona-lisa-with-ms-paint.html
--~--~---------~--~----~------------~-------~--~----~
You received this message
2007 Mar 16
1
[PATCH] Rendering: swap buffers and copy only needed parts
...aving expensive pixel copy operations.
Since glxCopySubBufferMESA does only implement copy-from-backbuffer (correct
me if I'm wrong) it is no longer needed (remove-copySubBuffer.patch).
I've been using this a quite long time and it works generally well. Problem
arises only when a plugin paints outside of the given region. For example
screenshot (quick-n-dirty patch provided) and scale (shadows don't belong to
damaged area, causing slowly darkening and finally solid black border around
scaled windows) do that.
Pyry
-------------- next part --------------
A non-text attachment was...
2008 Jan 02
3
how can I use draw line in wxruby??
I use
dc = DC.new()
dc.draw_line(50, 50, 100, 100)
but it can''t be compiled
I don''t know how to declare DC variable??
in http://wxruby.rubyforge.org/doc/dc.html
it don''t tell me how to declare now variable
plese tell me :''(
--
Posted via http://www.ruby-forum.com/.
2007 Dec 01
5
Tearing in my buffered animation test script...
OK, I have a basic blit demo working (thanks to Alex Fenton for his
reply, which I finally saw).
However, there''s a great deal of "tearing" on the screen - flickering
grey lines in the black background. It looks like the blit isn''t
always complete when the screen refreshes.
Can anyone look at this and tell me what I might be doing wrong? Any
help would be most
2007 May 07
1
[ wxruby-Bugs-10662 ] ClientDC paint not being shown on OS X with 2.8
Bugs item #10662, was opened at 2007-05-07 19:55
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=10662&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 4
Submitted By: Alex Fenton (brokentoy)
Assigned to: Alex Fenton (brokentoy)
Summary: ClientDC paint not being shown on OS X with 2.8
Initial Comment:
2011 Sep 26
0
Farmhouse in Provence
The Building Painting (http://www.micaroo.com/home-and-garden/wall-art/building-paintings.html) Farmhouse in Provence also known as Entrance Gate to a Farm with Haystacks was made in 1888 by Vincent van Gogh in Arles in Provence at the height of his career. Oil Paintings for sale (http://www.micaroo.com/home-and-garden/wall-art.html) Partially due to having been inspired by painter Adolphe
2008 Feb 18
2
how to plot image() without painting a map (the background)
...ature for different latitudes and longitudes ? 3
o'clock.
akilonlat06 is the temperature for different latitudes and longitudes ? 6
o'clock.
I would like to plot akilonlat03 and then akilonlat06 and keep the map of
France in background.
My script (see below) doesn't work as image "paints" the background as I
read somewhere in this forum.
So would have someone a solution to correct my script ?
Thanks in advance,
Ptit Bleu.
----------------------------------------------------
akilonlat03<-interp(lonlat03$Longitude, lonlat03$Latitude,
(5/9)*(lonlat03$TMP_200802150300-32))...
2007 Apr 29
0
[991] branches/wxruby2/wxwidgets_282/doc/textile: Update documentation for painting methods and WindowDC subclasses
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 22
0
[910] branches/wxruby2/wxwidgets_282: Moved paint() method back into C++, so DC object is destroyed in timely
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2015 Aug 21
3
[Bug 2450] New: paint visual host key with unicode box-drawing characters
https://bugzilla.mindrot.org/show_bug.cgi?id=2450
Bug ID: 2450
Summary: paint visual host key with unicode box-drawing
characters
Product: Portable OpenSSH
Version: 7.0p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh