Displaying 20 results from an estimated 300 matches similar to: "(REST) Nested routes"
2007 Jan 01
5
Validations based on associations
My model is very simple, it''s mostly just a join table that represents
which tournaments a user has registered for.
class Registration < ActiveRecord::Base
belongs_to :user
belongs_to :tournament
validates_presence_of :user_id, :tournament_id
validates_uniqueness_of :user_id, :scope => :tournament_id
end
the validates_uniqueness checks to make sure there''s no
2008 Jan 18
8
link_to problem
hi @ all
I create a new archiv.html.erb and a archiv method in the controller.
Now, I would like to link from index.html.erb to archiv.html.erb. I
tried to use <%= link_to ''archive'', archiv_xxx_path %> but it doesn''t
run.
It appears a error message "SyntaxError in xxx#index".
Does anyone know, how I can enhance this problem?
thanks a lot...
--
Posted
2007 Jan 01
3
Another "how do I spec this?"
I wanted to add a convenience method on my User class to see if he was
already signed up for a tournament. Here''s my spec
context "A User signed up for one tournament" do
setup do
@t1 = Tournament.new
@t1.save false
@t2 = Tournament.new
@t2.save false
@user = User.new
@user.save false
@user.registrations << Registration.new(:tournament =>
2007 Feb 22
1
tournaments to dendrograms
Does anyone have (good) experience converting tables of tournament
results into dendrogram-like graphics? Tables, for example, like this:
read.table(url("http://www.econ.uiuc.edu/~roger/research/ncaa/NCAA.d"))
Any pointers appreciated. RK
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558
2006 Jul 07
7
Sequencing control with edit method in CRUD examples
I have been playing with the cookbook type of tutorials building a fish
tournament scoring piece and am having a bit of a problem with a DB
field called "points" in my "catch" table that is not input by the user
but is calulated based on a "size" field that is input by the user.
I have the following in my catch_controller.db
def new
@catch = Catch.new
@fish =
2002 Apr 05
1
Unreal Tournament 2003
I've just gotten around to reading the IRC chat with the developers of
Unreal Tournament 2003.
Looks like Vorbis support is a possibility:
[21:53] <Mancubus> Has the idea of a built in mp3 player been introduced? :)
[21:53] <Orpheus> Mancubus, wont happen
[21:53] <Orpheus> Fraunhofer owns the rights to Mp3.
[21:53] <Mancubus> Why not?
[21:53] <Orpheus> Epic would
2008 Sep 06
5
Unreal Tournament
I installed unreal tournament '99 on WINE and whenever I try to open it, it says "Starting Unreal Tournament" in a new tab at the bottom and then it disappears and nothing happens. Any suggestions?
I'm using a x64-Opteron 1.8Ghz Dual-Core, x64 Ubuntu, 2gb of RAM, Nvidia 6150 with Restricted Drivers.
P.S. - Please give me a somewhat step-by-step because I'm all-knowledgeable
2007 Apr 27
3
attachment_fu content_type problem
Hi all....
Admittedly I''m new to Rails and trying to find my way but I''m having
an issue with uploading documents with attachment_fu.
I have a form where I''m uploading multiple attachments (using AJAX to
add file_filed_tags). That seems to work pretty well. The problem is
I can''t seem to get the content_type to work as I would expect. For
example, if I use
2006 Jan 10
7
Application Design Question
I am designing an application to run a fishing tournament I am
hosting. Each fish entered will be given a point total based on the
length of the fish and the species of fish. Each species has a point
multiplier. For Example Trout have a multiplier of 10 so a 20 inch
Trout would have a score of 200.
My conundrum is in where and when do I calculate the points. The
options I have come up
2012 Jan 29
2
loaded Unreal Tournament (GTOY) runs choppy Ubuntu 11.10
I loaded Unreal Tournament in wine 1.3.37 and everything works that I tried but the video is choppy. The sound was not choppy but the video was. It did not matter if I was playing online or the bots on my computer the video was choppy. I tried raising and lowering the video resolutions and it did not seem to effect the problem for better or worse. I am using Ubuntu 64 bit 11.10. I am on an AMD
2009 Dec 03
2
Can't start UT3
I really need help, I tried installing several times already and I'm getting the same problem no matter what I do.
I install the game and everything seems to go well during install. After installation I try to start the game and it gets stuck to the splash screen.
I looked in Google and found that this problem is not related to Linux or Wine, some other people have been experiencing the same
2001 Jul 28
2
UT
I read your message about using the Loki Linux Unreal Tournament engine
to play Unreal. I have the original Unreal Windows version CD and would
like to play it on Linux but can't get the Loki version to recognize the
CD. Can you tell me which files to download from Loki and how to install
them?
Thanks,
Rick Knight (rick@rlknight.com)
2010 Jun 30
2
Reading in a transcript-like file
http://r.789695.n4.nabble.com/file/n2272669/FT20100626_%2420_%2B_%242_Sit_%26_Go_-_%28169112900%29_-_Summary.txt
FT20100626_%2420_%2B_%242_Sit_%26_Go_-_%28169112900%29_-_Summary.txt
I have a lot of experience with Stata, but I'm new to R. I'm trying to read
the attached file into R on my mac. My goal is to have it as a list, with
each element a string - from then I can parse out the
2008 Oct 10
2
The Tournament Director 2 won't run
Hello there,
I'm using "The Tournament Director" for my job, and i'd like to use it at my ubuntu-machine at home as well.
You can get the software at http://www.thetournamentdirector.net/download.html (free 30 day-trial)
It installed without problems, but when i tried to use it, nothing would happen. - I copied the necessary "mshta.exe" into the "system32"
2007 Aug 25
2
Austin meetup?
Looks like I''ll be in Austin from Tuesday (late) night until Saturday
morning. Any Puppeteers in Austin who want to get together?
I''ve got vague plans to hang out with whurley, but I''d love to meet a
few more people in the community. Wednesday, Thursday, or Friday
night should work fine (although not all three).
--
Always behave like a duck - keep calm and
2009 Aug 23
3
Wine 1.1.28 tests 2 pc config and many games
Phenom AMD 4x 9850 2.5Ghz oveclocked to 2.7Ghz
Gygabite GA-MA78G-d3H, 8Gb RAM , 320Hdd
UBuntu Linux 9.04 64 bit with wine 1.1.28
Tested 2 videocards
test 1 - Radeon HD3200 (inside) 256Mb (wine 1.1.26) drv Ati 9.8
test 2 - Nvidia Geforce 9800 GT 1Gb (wine 1.1.28) drv Nvidia 190
With test i not used other dll's , not used registry files
just install and run game (and check
2004 Sep 09
2
UDP routing issues with multiple NICs
Ok, the story is this, I''m running an Unreal Tournament 2004 server. It''s running on a system that has two external NICs that are connected to different ISPs. I would like players to be able to connect to the server from either link. My default gateway goes through NIC1. For traffic through NIC2 to work I simply added an extra routing table and rule. The extra routing table has
2010 May 12
2
issues with the keyboard in wine
Everytime I play games like Half-Life 1 the game runs just I can't play with the keyboard. Also happens with Unreal Tournament and Backyard baseball 2001. Is there something I can to to fix it
2001 Jun 13
1
unreal does'nt install
How can I install Unreal Tournament under wine (20010510)? When I tried
it, I got following message after all files were copied:
>err:psdrv:PSDRV_FindPrinterInfo Error 2 getting PPD file name for
>printer 'Printer1 auto'
>fixme:winspool:AddPrinterW DocumentProperties fails
>verr:psdrv:PSDRV_FindPrinterInfo Error 2 getting PPD file name for
>printer 'Printer1
2007 Apr 23
1
unredirect_fullscreen_windows
Is that option working?
With compiz 0.3.0 it worked but fullscreen apps (like Quake 3, Unreal
Tournament 2004, ..) didn't get any mouse input then.
With compiz 0.5.0 it doesn't seem to have any effect (eg. fullscreen
apps are lagging, because of the redirection).
AIGLX, NVidia drivers 1.0-9755.
Key: /apps/compiz/general/screen0/options/unredirect_fullscreen_windows
--
Dave -