This file contains hidden or 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
require 'spec_helper' | |
describe AuthenticateDevice do | |
describe ".perform" do | |
it "finds authenticate object with token" | |
it "authenticates if token is valid" | |
end | |
describe ".get_access_token" do |
This file contains hidden or 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
Hi, | |
I, Swetha Malemath, have 2 years of QA experience from fresher till today in sourcebits where I have been working hard and contributing to successfully delivering projects with Quality. | |
I have been constantly improving myself and introduced processes apart from my assigned responsibilities like automation. I have been even mentoring the freshers how to do automate using selenium and JAVA. | |
The last salary increment which I got in April 2013, made my gross salary to 24220. Even freshers get more salary that this in our company.I have not let this effect my work and dedication. But actually it is always in the back of my mind. | |
I have proved myself to be a valuable resource and I believe I have been always contributing more than my responsibilities. I therefore, request you look into normalizing my salary. |
This file contains hidden or 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 convert_to_ogv | |
remote_url = model.send("remote_#{mounted_as}_url") | |
if should_process_remote?(remote_url) | |
download_from_remote_location(remote_url) | |
else | |
directory = File.dirname( current_path ) | |
tmpfile = File.join(directory, "tmpfile.mp3") | |
########################################### | |
this should be tmpfile.mp4 |
This file contains hidden or 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
<div class="left right-panel padbot100"> | |
<div class="welcome-message-wrap"> | |
<div class="top-bg"></div> | |
<div class="middle-bg"> | |
<span class="pointer"></span> | |
<div class="padlr19"> | |
<h2>Build Generalization</h2> | |
</div> | |
<form accept-charset="UTF-8" action="/ssa/how_to_units/4e9d4c47b8b9c63ab5000002/tutorials/4e9d5701b8b9c63b89000007/update_generalization" class="simple_form how_to_distractor" enctype="multipart/form-data" id="edit_how_to_distractor_4e9e6361b8b9c64000000071" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /><input name="_method" type="hidden" value="put" /><input name="authenticity_token" type="hidden" value="baCrv/IJD24M0AWBqZ08lyn9AYyWjqF+Yl+ABVEvw7w=" /></div> |
This file contains hidden or 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
NoMethodError in Ssa::TutorialsController#update_generalization | |
undefined method `find' for #<HowToDistractor:0xcafa8b4> | |
Rails.root: /home/abhishek/workspace/conoverweb | |
Application Trace | Framework Trace | Full Trace | |
activemodel (3.0.10) lib/active_model/attribute_methods.rb:392:in `method_missing' | |
mongoid (2.2.0) lib/mongoid/attributes.rb:182:in `method_missing' | |
mongoid (2.2.0) lib/mongoid/relations/proxy.rb:148:in `method_missing' |
This file contains hidden or 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
Changes | |
======= | |
# Removed readonly attribute for organization name in SA panel | |
# Removed password_confirmation error message in batch importer | |
# Url entered in news description will change to link when the news is displayed | |
To-Do Completed | |
=============== | |
# (FSS) - Login Page |
This file contains hidden or 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 paypal_checkout | |
values = { | |
:business => '[email protected]', | |
:cmd => '_cart', | |
:upload => 1, | |
:return => "http://61.12.14.178:4001#{checkout_sa_cart_items_path(params[:cart_item_ids])}" | |
} | |
cart_items = CartItem.any_in('_id' => params[:cart_item_ids]) | |
This file contains hidden or 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
h1. URL | |
http://ec2-50-17-255-252.compute-1.amazonaws.com/ | |
h2. Release notes | |
h2. New Features | |
# Paypal checkout integration to cart for buying credits | |
# Added contact form to trial |
This file contains hidden or 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
#This module does all the encryption and decryption using OpenSSL ruby class | |
module EncryptionEngine | |
#encrypt method as the name suggest encrypts 'data' using 'algorithm' with 'key' | |
def encrypt( data, key, algorithm) | |
#Do not encrypt if data is nil | |
if !data.nil? && !data.empty? | |
cipher = OpenSSL::Cipher::Cipher.new algorithm | |
cipher.encrypt |