Questions tagged [railsapps]

Questions and answers about applications from the RailsApps open source project.

Questions and answers about applications from the RailsApps open source project.

The RailsApps project provides example applications that developers use as starter apps.

The project also develops tools to create starter apps, including the Rails Composer application template and the rails_layout gem.

78 questions
2
votes
3 answers

Issues using config/secrets.yml variable set from ENV variable on Rails 4.1.0

Have not played with Rails in ages so walking through the Learn Ruby on Rails tutorial which is excellent. I'm having issues with google authentication, the example code calls the config/secrets.yml variables (which are read from ENV in the shell)…
2
votes
1 answer

Why is my enum value wrong in minitest using Pundit gem?

I created a starter app from RailsApps with the rails-devise-pundit example app. I am trying to write a user controller test because I plan to change some functionality and I want to make sure things still work. The pundit UserPolicy is not…
Mike F.
  • 69
  • 1
  • 9
2
votes
1 answer

Using rails-composer, getting error based on builder version

I'm trying to use rails-composer to start a project. Right after composer installs the gems I get an error and the script stops. Here is the error: Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. …
Kevin K
  • 2,191
  • 2
  • 28
  • 41
1
vote
1 answer

Error on trying to add Private key to AWS Opsworks

I am trying to set up a new rails app on AWS Opswork. While trying to add a new app, I keep getting the error "Please provide a valid SSH key" I have created a public-private key pair using ssh-keygen, added the public key in Github and I am trying…
1
vote
2 answers

Whats is the default password for an application created with railsapps

What's the initial password for the "user@example.com" of a "railsapps" application? noname_development=# select * from users; id | email | encrypted_password | reset_password_token |…
american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80
1
vote
0 answers

RailsApps mysql2 gem version error with Rails 5.2.1

I am facing a mysql2 gem version error while trying to create a new RailsApps example application using Rails Composer. For example, while creating a rails-devise-roles example with the following command: $ rails new rails-devise-roles -m…
user1575148
  • 561
  • 6
  • 28
1
vote
1 answer

Why is Rails composer only creating a basic app without features? `open_http': 404 Not Found (OpenURI::HTTPError)

I have just completed the detailed and well-explained Rails tutorial by Daniel Kehoe and am at the end trying to experiment with Rails Composer. I am having a problem creating the app on both Cloud 9 and Windows 10 with the same error. The app…
Owen
  • 361
  • 1
  • 5
  • 16
1
vote
1 answer

Error installing Nokogiri on macOS Sierra

Am trying to install Nokogiri on Sierra, and get an error message which tells me to check the mkmf.log. What do I need to do to get Nokogiri to install correctly?Here are the contents of the mkmf.log file: "gcc -o conftest…
pdenlinger
  • 3,897
  • 10
  • 60
  • 92
1
vote
0 answers

Gibbon failed to open tcp connection on Heroku

Going through Daniel Kehoe's Learn Ruby on Rails book. Have tutorial successfully posting to MailChimp list in development. Pushed to heroku, and tested. When submitting email address to join newsletter, get error in logs -…
1
vote
2 answers

Rails 5: How can I get Google Analytics to work?

I tried to install google analytics on a Rails 5 website adding the Google Analytics Tracking Script created by Jonathon Wolfe and provided on Nick Reed’s Turbolinks Compatibility site. I replaced UA-XXXXXXX-XX with my Google Analytics tracking…
1
vote
1 answer

Spreadsheet Connection section, won't create the spreadsheet

While working on Daniel Kehoe's Learn Ruby on Rails book, I got to the spreadsheet connection section. I followed the workaround for google drive and I get the message sent flash notice, but when I check Google Drive I am not seeing a created…
1
vote
1 answer

Heroku Sendgrid not sending and not showing errors?

I am trying to get "Devise Confirmable" email confirmations to work through Sendgrid on Heroku running Rails 4.2 I set up the rails-devise-pundit starter app with Devise Confirmable & Sendgrid options. Running on Ubuntu 14.04 in development I just…
dewet
  • 376
  • 1
  • 3
  • 16
1
vote
0 answers

Rails_apps_composer. Generate an application from defaults. error :undefined method `add_builtin_type' for Psych:Module (NoMethodError)

I'm trying use Rails_app_composer “automatically”, from a defaults file that specifies parameters. I use to generate an application from defaults: $ rails_apps_composer new lamevapp --defaults=my_defaults.yaml my_defaults.yaml is recipes: -…
joan prim
  • 11
  • 2
1
vote
0 answers

What is the best way to test RailsApps App in Gitlab CI?

I've created Ruby on Rails app using Rails Composer and I want to use it with Gitlab CI (v5.0.1 on OS X 10.9.4) with Gitlab CI Runner also on OS X 10.9.4. What I should use as build steps? I started with: . ~/.bash_profile rvm use…
CiTroNaK
  • 23
  • 6
1
vote
1 answer

How do you add a nested attribute to permitted parameters for Devise in order for nested form to work

I'm running: rails 4.1.4 devise 3.3 I used the RailsApp starter app to set up devise and pundit. Right now I am having trouble making a nested form attribute save. I am getting an error: Unpermitted parameters: players I edited the initializer…
ecoding5
  • 404
  • 6
  • 19