This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
encoding: UTF-8 | |
# This file is auto-generated from the current state of the database. Instead | |
# of editing this file, please use the migrations feature of Active Record to | |
# incrementally modify your database, and then regenerate this schema definition. | |
# | |
# Note that this schema.rb definition is the authoritative source for your | |
# database schema. If you need to create the application database on another | |
# system, you should be using db:schema:load, not running all the migrations | |
# from scratch. The latter is a flawed and unsustainable approach (the more migrations | |
# you'll amass, the slower it'll run and the greater likelihood for issues). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def index | |
@game_classes = GameClass.order("game_id").page(params[:page]).per(15) | |
@game_classes = GameClass.order(params[:sort]).page(params[:page]).per(15) if params[:sort] | |
#@game_classes = @game_classes.all | |
respond_to do |format| | |
format.html # index.html.erb | |
format.json { render json: @game_classes } | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="pretty"> | |
<thead> | |
<tr> | |
<th><%= sortable "name" %></th> | |
<th>Description</th> | |
<th><%= sortable "game_id" %></th> | |
<th></th> | |
<th></th> | |
<th></th> | |
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$("#game_classes th a, #game_classes .pagination a").on("click", function() { | |
$.getScript(this.href); | |
return false; | |
}); | |
$("#game_classes_search input").keyup(function() { | |
$.get($("#game_classes_search").attr("action"), $("#game_classes_search").serialize(), null, "script"); | |
return false; | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= hidden_field_tag :direction, params[:direction] %> | |
<%= hidden_field_tag :sort, params[:sort] %> | |
<table class="pretty"> | |
<thead> | |
<tr> | |
<th><%= sortable "name" %></th> | |
<th>Description</th> | |
<th><%= sortable "game_id" %></th> | |
<th></th> | |
<th></th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Finished in 0.59557 seconds | |
13 examples, 0 failures, 2 pending | |
<-- Slave(2) run done! | |
Martin@BALOO /g/Aptana Studio 3 Workspace/mmofish (master) | |
$ git push heroku master | |
Enter passphrase for key '/c/Users/Martin/.ssh/id_rsa': | |
Counting objects: 44, done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mmofish gemfile -- DO NOT MODIFY without speaking to Mizpah! | |
source 'https://rubygems.org' | |
# We have chose to use a pessamistic versioning constraint (~>2.1) during development | |
# in some cases, amd latest versions (optimistic constraint) (=>2.1) in others. | |
# This iwll be reviewed for production | |
gem 'rails', '~>3.2' | |
# Bundle edge Rails instead (initiate for testing only): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts 'DEFAULT USERS' | |
user = User.find_or_create_by_email :username => ENV['ADMIN_NAME'].dup, :email => ENV['ADMIN_EMAIL'].dup, | |
:password => ENV['ADMIN_PASSWORD'].dup, :password_confirmation => ENV['ADMIN_PASSWORD'].dup | |
puts 'username: ' << user.username | |
user.add_role :admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title><%= full_title(yield(:title)) %></title> | |
<%= stylesheet_link_tag "application", media:" all" %> | |
<%= javascript_include_tag "application" %> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="<%= content_for?(:description) ? yield(:description) : "mmofish" %>"> | |
<%= csrf_meta_tags %> | |
<%= render 'layouts/shim' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wildstar Item Import 51 has been created. | |
context : | |
<N K="tItemDb" T="t"> <N F="37671" T="t"> <N K="tItemInfo" T="t"> <N K="nPowerLevel" T="n" V="48"/> <N K="sIcon" T="s" V="IconSprites:Icon_ItemArmor_Heavy_Armor_Shoulders_01"/> <N K="nItemPower" T="n" V="1434"/> <N K="tPrimary" T="t"> <N K="strName" T="s" V="Mutagen Shoulder Plates"/> <N K="eCategory" T="n" V="3"/> <N K="tLevelRequirement" T="t"> <N K="nLevelRequired" T="n" V="48"/> <N K="bRequirementMet" T="b" V="-"/> </N> <N K="nId" T="n" V="37671"/> <N K="bDestroyOnLogout" T="b" V="-"/> <N K="tCost" T="t"> <N K="nBuyCost" T="n" V="78384"/> <N K="nSellValue" T="n" V="15676"/> </N> <N K="tDurability" T="t"> <N K="nMax" T="n" V="71"/> </N> <N K="eType" T="n" V="18"/> <N K="tStack" T="t"> <N K="nMaxCount" T="n" V="1"/> </N> <N K="arInnateProperties" T="t"> <N F="1" T="t"> <N K="nSortOrder" T="n" V="3"/> <N K="eProperty" T="n" V="42"/> <N K="nValue" T="n" V="1496"/> </N> </N> <N K="tProfRequirement" T="t"> <N K="nId" T="n" V="2"/> <N K="bRequirementMet" T="b" |
OlderNewer