I hereby claim:
- I am marwinism on github.
- I am marwin (https://keybase.io/marwin) on keybase.
- I have a public key whose fingerprint is F96C C797 A03E 4773 55F3 8414 91D5 75A1 3DAA DA21
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
res.each do |r| | |
@var = r["UserID"] | |
end | |
hash = {} | |
hash.each { |k,v| string << @var << "=>" << @var} | |
return hash | |
puts hash |
### Controller method for create - should take values from a form #### | |
def create | |
@userName = params[:userName] | |
@userFn = params[:userFname] | |
@userLn = params[:userLname] | |
@userEmail = params[:userEmail] | |
@userPassword = params[:userPass] | |
payload = { |
$(document).ready(function() { | |
// generate markup | |
$("#rating").append("Please rate: "); | |
for ( var i = 1; i <= 5; i++ ) { | |
$("#rating").append("<a href='#'> <img src='bitkit/img/glyphicons/png/glyphicons_049_star.png' />"+i+"</a> "); | |
} | |
// add markup to container and apply click handlers to anchors | |
$("#rating a img").click(function(e) { |