search for: gaming

Displaying 20 results from an estimated 8499 matches for "gaming".

Did you mean: naming
2007 Oct 05
13
spec''ing view render partial collection, local variable not found
I''m trying to spec out a render partial collection but I get the following error 2) NoMethodError in ''/games/_game.rhtml should show game name'' undefined method `body'' for #<#<Class:0x316580c>:0x2f1154c> /Volumes/EXTERNAL/web/omenking.ca/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/have_text.rb:12:in `matches?''
2007 Oct 06
4
spec''ing views, mock_model associations
I writing a spec that returns the count of how many players in a game: it "should how many players in a link to all players" do render :partial =>"games/game", :object => @game response.should have_tag(''a'',"(2) Players") end I''m not sure how to do the mock model, I think it would be done two ways but unsure of the syntax: 1: add
2016 Oct 26
0
[Bug 2632] New: Rockstar games 1-800==76I== 67I3 ==!!$$$ ROCKSTAR tech support
https://bugzilla.mindrot.org/show_bug.cgi?id=2632 Bug ID: 2632 Summary: Rockstar games 1-800==76I== 67I3 ==!!$$$ ROCKSTAR tech support Product: Portable OpenSSH Version: 7.3p1 Hardware: Alpha OS: Solaris Status: NEW Severity: critical Priority: P5 Component:
2008 Apr 07
5
Associations errors
undefined method `each'' for 0:Fixnum at line @school = School.find_by_title(params[:school_id].gsub(''-'', " ")) for team in @school.teams ........ end @school does exist cause i tried with .find(:first) and it gave the same error. Also I''m getting undefined method `reject'' for #<Game:0x24ca1c4> From @home.game_ids = @game
2006 Apr 07
5
Confusion about has_many / belongs_to ...
I have a table called players and its model Player, and I have a table called games and its model Game. In the games table I have: player1_id int(11) player2_id int(11) I want the tables to be associated so that I can access the player objects using table.player1 and table.player2 rather than having to lookup the objects based on the ids. I am not sure how to go about this but I suspect I
2006 Apr 10
6
Object isn''t being saved when called through association
I have three models in this small game I''m working on - the Game, Players, and Turns. A Player should be able to rescue another Player on any given turn. So it looks like this: class Game has_many :players has_many :turns def rescue_player(p) t = turns.last t.rescued = p t.save end end class Turn belongs_to :rescued, :foreign_key =>
2012 Mar 10
4
undefined local variable or method 'game'
I am doing a web shop assignment and have got a problem with my action mailer. I get an error undefined local variable or method ''game'' I have the following in my mailer: def game_interest(user, game) @user = user @game = Game mail :to => user.email, :subject => "Game Interest" end and the following in my controller: def email @game =
2005 Jun 01
7
Which variable exist after random
Dear R-helper, How could I count only some variable was exist after running sample (random) function. For example, > testx <- factor(c("Game","Paper","Internet","Time","Money")) > for(i in 1:2) { + x <- sample(testx,replace=TRUE) + print(x) + } [1] Money Money Time Internet Time Levels: Game Internet
2008 Feb 25
3
customize resource routes
Hi all, I have this application that lists videogames, which i am rewriting to follow REST. I need to have this url : /games/xbox360/halo-3 ( map.connect "/ games/:platform_id/:permalink",:controller => "games",:action => "show" ) This is no problem with map.connect, but with map.resources i can not make this. map.resources :games do |game|
2011 Oct 25
0
Mega Games Pack For WINE/Windows Games (Online Edition)
[Image: http://img692.imageshack.us/img692/91/splashns.jpg ] Free Mega Games Pack (Online Edition) Free MGP is now an online Repository of games you can download, the games are compatible with Windows and WINE/Linux. [Image: http://img851.imageshack.us/img851/2441/mgpinstall.th.jpg ] ("http://imageshack.us/photo/my-images/851/mgpinstall.jpg/") [Image:
2008 Apr 07
7
Saving attribute
Something is getting lost here. def create @home = Team.find_by_user_id(current_user.id) for player in @home.players player.update_attribute(:game_id, @game.id) end end def show @players = Player.find_all_by_game_id(params[:id]) end view <%= @players.size %> # mistakenly equals zero Played with the console and everything should be working fine...
2007 Oct 16
8
Using multiple foreign keys in views
I have a model, Game, that has_many :teams. There''s a home team and an away team. I created two foreign keys, so each game can have two teams associated with it. Here''s the Team model: class Team < ActiveRecord::Base belongs_to :game, :class_name => ''Game'', :foreign_key => ''hometeam_id'' belongs_to :game, :class_name =>
2009 Jul 06
3
Rspec book issue (mastermind example)
Hey Everyone, Just a simple question. I have read and re-read the examples and I''m not getting the proper output. I''m on page 73/74 of the Rspec book and it says I should have "4 steps passed". I think the problem is within my /step_definition/mastermind.rb" file. It''s definitely not beyond me to make a mistake, but I have checked and double checked my
2004 Jul 16
1
Fixed and random factors in aov()
Hi, I'm confused about how to specify random and fixed factors in an aov() term. I tried to reproduce a textbook example: One fixed factor (Game, 4 levels) and one random factor (Store, 12 levels), response is Points. The random factor Store is nested in Game. I tried > str(kh.df) `data.frame': 48 obs. of 4 variables: $ Subj : Factor w/ 48 levels
2008 Nov 21
3
Chances of running a new game
Is there any chance to running new games under Wine (because I've seen some new videogames running in Youtube) and, what things can be made to try to get those games working. I don't know much about wine so I don't know how it works but, Colud we make some kind of guide about problems, solutions and wine moddings to encorauge users to get working new games?
2007 Oct 01
15
how to spec views
I''m trying to spec a view but haven''t done much view specing. This view render different partials depending on authentication of the user: annon, admin, player So I I''ll write if conditionals in the view with the partials it "should render signup propaganda for annon users trying to view games" do render "/games/index.rhtml"
2001 Nov 07
4
Audio Section - Game Programming Gems 3
...or professional and aspiring game developers. It is designed to be your first resource when you're working on a challenging new programming problem. As PCs, game consoles, and graphics and audio chips become faster and more capable, the pressure on game developers to create new and interesting gaming experiences increases: timelines shorten, team sizes grow, and the content benchmark elevates. Despite these pressures, game programmers often find themselves isolated and reinventing the wheel. The Game Programming Gems series is designed to relieve these pressures by providing practical technique...
2001 Nov 07
4
Audio Section - Game Programming Gems 3
...or professional and aspiring game developers. It is designed to be your first resource when you're working on a challenging new programming problem. As PCs, game consoles, and graphics and audio chips become faster and more capable, the pressure on game developers to create new and interesting gaming experiences increases: timelines shorten, team sizes grow, and the content benchmark elevates. Despite these pressures, game programmers often find themselves isolated and reinventing the wheel. The Game Programming Gems series is designed to relieve these pressures by providing practical technique...
2007 Oct 08
6
spec''in controllers request for nested routes
describe PlayersController, "handling GET /saltmines/games/1/players" do before do @game = mock_model(Game, :to_param => "1") @game.stub_association!(:players, :find => mock_model(Player)) end def do_get get :index, :game_id => @game end it "should be successful" do do_get response.should be_success end it "should
2009 Mar 22
2
Playing Gamemaker 6 and 7 games on OSX?
I have recently gotten back into making a games with gamemaker. I had a big game that I didn't finish on my old computer running Windows XP. But then my stupid sister dropped my laptop done the stairs. That was about 2 months ago, and I got a new laptop running OSX because my parents hate Windows (while I love it). I was looking through a flashdrive with my stuff from my old laptop on it