Ruby on Rails Community Forum
Strong Passwords with HaveIBeenPwned Discussion
3
General
The timing of this video is perfect! I was wanting to add something like this to my app.. but was stuck on what approach to take!
Again another usefull and well explained video! Keep it coming Ch...
Howard OLeary replied
Request for code review
1
Rails
Hello.
Can I ask for a little review of my code?
I have been a php-developer for a long time. I really want to learn professional programming on rubi / ruby on rails.
This is my [class](https://git...
Tabish Iqbal replied
Solved
Development
0
General
Can you offer vue js and nuxt js crash course
David Muritala posted
Slack OAuth Error: Invalid client_id parameter
0
Rails
Hi guys! I'm getting this `OAuth Error: Invalid client_id parameter` after I insert the user creds.
Here is my code contains the `client_id` -
`devise.rb`:
``` config.omniauth :slack,
...
Ben posted
find_each from association
0
Rails
Hello someone could explain mehow could i do a find_each that give me all the records associate to my model
This is the structure Venue -> has_many :services and Services -> belongs_to Venues...
javier burgos posted
How to pass value from <select> - to method of Rails-controller?
0
Rails
Hello.
I would like to share my problem with you.
How to pass value from - in this or that, depending on select, method of Rails-controller?
If id of (or name) selected is 'one', it should be pa...
Andre posted
Rails Engines for Decoupled Architecture
1
Rails
I'm wondering in using rails engines (plugins) to decouple monolith rails app codebase in modules which could be shuded down in case of bugs and enabled easily without impacting the whole user expe...
Srinivasa Varma D replied
Carrierwave Backgrounder in Rails 5.2?
0
Rails
I have an image uploader on a form, and images upload fine without the background processing. Since moving to Heroku, the larger source images often time out, so I'm looking to move this to a backg...
John Athayde posted
How to Deploy Rails to Production on Ubuntu 18.04 Bionic Beaver Discussion
2
General
Hey Chris - Do you have a best practices guide for server maintenance?
Brian
TL replied
How do I combine these two buttons
0
Rails
im trying to combine the paypal button and the f.submit button but have no idea How to get there Is there any better suggestion `
// Render the PayPal button int...
dinesh124 posted
How do I find a records based on contents of a has_many :through join?
8
Rails
I think I've been at this problem for too long and the obvious answer has evaded me.
Say you have students, classes (klass for ruby's sake), and enrollements as the join between them.
```ruby
cla...
Peter Marcano replied
Solved
How Can Unstall Ruby On Rails on Ubuntu 16.04 Xenial Xerus
1
Rails
How Can Unstall Ruby On Rails on
Ubuntu 16.04 Xenial Xerus
Matt Walston replied
Unable to configure cancancan with active_admin in rails
0
Rails
I am trying to make a blog website. I am using `active_admin` and `cancancan` gem. Two controllers I have made are `Post`, `Category`.
**posts_controller.rb**
```
class PostsController < Inher...
pushpam kumar posted
rails 5.2.2 template.rb sqlite3 versions issue
1
Tips
Hi there, after few hours digging arround i just found the answer to this:
when trying to start a new project with the template.rb i had issues because of the version of sqlite3. rails was automat...
Chris Oliver replied
Best way to start a rails project?
5
General
Hi i've been coding with rails selflearning with videos books and so on, (prolly not the best way to do it) but i'm wondering if there are few best practices to follow up.
For instance, when i do ...
kriera replied
Solved
Using Rails API for Angular and iOS, with authentication
0
Rails
We have a Rails API that was used with Angular, we previously used the devise angular authentication plugin.
With our new iOS app, we're having difficult trying to figure out how to integrate rail...
Jake Meier posted
encounterd some problems with devise.
2
Ruby
1.when i created a devise model , i saw encrypted_password(column) in schema.rb but in registration form i saw f.input :password ???????
2.I am getting { PG::NotNullViolation: ERROR: null value in...
sameer replied
Solved
Doorkeeper and Authorization Code Flow
0
Gems / Libraries
Hi! I'm learning rails building an CRUD app with authorization. I want to autorizate http requests.
I can't generate the authoriation code, when send the url with client_id and callback url, the p...
brbernardo90 posted
Rails + Javascript question
1
Rails
Hey guys,
I have an app for generating orders containg products. I'm currently using a “cart” through table that helps me connect both orders and products. I would like to have a list of product...
pupdogg replied
Solved
Preventing XSS in a Rails app, accepted architecture?
0
Rails
I've read and understand the great ways Rails sanitizes data when going from server to client, but I have a question that I would love to get some guidance/input on.
Recently it was discovered the...
Mark Kadlec posted