GithubHelp home page GithubHelp logo

railsapps / rails-signup-download Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 47.0 463 KB

Rails 5.0 starter app allows a visitor to sign up for an account and download a PDF file.

Ruby 80.01% JavaScript 1.36% CSS 2.50% HTML 16.14%

rails-signup-download's People

Contributors

danielkehoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rails-signup-download's Issues

Error after signup

I'm getting an error after I install signup-download as you are instructed in the tutorial. Here is the error:

undefined method async' for # The issues is in app/models/users.rb on line 15 that reads:MailingListSignupJob.perform_later(self)`

The tutorial says

After submitting the form, you’ll see an acknowledgment message and a button which allows you to download a PDF file.

But, instead I'm getting this error.

Installation issue

I hope I am not jumping the gun as I had Ruby 2.2.2 and Rails 4.2.1, plus rbenv already installed, but otherwise I am following the instructions. When I run the apps composer, I get errors. I was quite a ways into the stripe-membership tutorial, when I experienced problems and decided to start over. This time I watched the complete composer installation process and saw the errors.

        init  applying migrations and seeding the database
         run    bundle exec rake db:migrate from "."
rake aborted!
Psych::SyntaxError: (<unknown>): did not find URI escaped octet while parsing a tag at line 18 column 28
/home/ron/projects/rails-stripe-membership-saas/config/environments/development.rb:33:in `block in <top (required)>'
/home/ron/projects/rails-stripe-membership-saas/config/environments/development.rb:1:in `<top (required)>'
/home/ron/projects/rails-stripe-membership-saas/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
         run    bundle exec rake db:seed from "."
rake aborted!
Psych::SyntaxError: (<unknown>): did not find URI escaped octet while parsing a tag at line 18 column 28
/home/ron/projects/rails-stripe-membership-saas/config/environments/development.rb:33:in `block in <top (required)>'
/home/ron/projects/rails-stripe-membership-saas/config/environments/development.rb:1:in `<top (required)>'
/home/ron/projects/rails-stripe-membership-saas/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => db:abort_if_pending_migrations => environment
(See full trace by running task with --trace)
         run    git add -A from "."
         run    git commit -qm "rails_apps_composer: set up database" from "."
    generate    layout:devise bootstrap3 -f
/home/ron/.rbenv/versions/2.2.2/lib/ruby/2.2.0/psych.rb:370:in `parse': (<unknown>): did not find URI escaped octet while parsing a tag at line 18 column 28 (Psych::SyntaxError)

tabindex on signup

Just a recommendation --

the tabindex on the signup process(including to buy your tutorial) takes a user through a fun maze. Would recommend configuring.

Update required for Gibbon 2.0

Gibbon 2.0.0 was released July 29, 2015.

When you run bundle install or bundle update the newest Gibbon 2.0 gem will be installed and the application will error with

NameError: uninitialized constant Gibbon::API

Either change the Gemfile and specify

gem 'gibbon',  '~>1.2.0'

or update the code that uses Gibbon.

See amro/gibbon#131

undefined method `authorize'

Thanks for the great resource.

When logging in as admin user, and clicking on the link to 'user count' which should take me to the user list. I get an error from:

indexapp/controllers/users_controller.rb

on line 7:

authorize User

undefined method `authorize' for #UsersController:0x007faa2ad3bae0

Any ideas? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.