# You may need to ask Chris which PriceTier the client belongs to
email = "jason@yozio.com"
price_tier_name = "Freemium"
new_app_name = "Jason Test App 12345"
new_app_fallback_url = "http://www.yozio.com"
user = User.find_by_email(email)
company = user.apps.first.company
price_tier = PriceTier.find_by_name(price_tier_name)
# create the app
app = App.new(:name => new_app_name, :fallback_url => new_app_fallback_url)
app.company = company
app.price_tier = price_tier
app.save
# add the users
app.users << user