
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

Switching from Sqlite3 to MySql or Postgresql and how
2
General
I now have the problem that whenever I deploye something with capistrano my Sqlite3 database disappears. I have already read that it is in a different folder or that there are problems with it.
No...
Sebastian replied
Solved

How do I add opensearch to a Rails app
3
General
I'm talking about the feature in chrome, it's present on GoRails, where if you type the URL of the site and hit Tab, you're able to search the site from the Chrome omnibar. I've gotten this to work...
Chris Oliver replied

Where should I start?
1
Tips
Hey, good morning.
Chris, I would like to start to learn more about Ruby and Rails. I have a little more than a year programming with them. However, I would like to know which series should I star...
Chris Oliver replied
Solved

How do I implement voting in Rails?
2
General
I have an app that has a resource called 'pins'. I want to add upvoting, and possibly downvoting, to the pins, so that I can rank them on the site Sort of like Reddit karma. I was thinking that an ...
karl replied

What do you listen to while coding?
24
General
So i had an interesting chat with fellow community member Jacob, and we are wondering what music do you listen to while you're coding?
What really gets you in the zone as you work hard creating yo...
genovesecamilla replied

Need a suggestion on the approach I should take to implement the multi-version surveys system.
0
General
I have an existing survey feature in my application. As standard, a survey has many questions, and many answers are submitted against a question by different users. There is a result model per surv...
Infinikorn posted

Speed up videos
1
General
Hi Chris,
Not really a rails question, but I just wanted to see if you could add a video speed feature as I can go through your tutorials at half the time.
Cheers,
Chris

How do I force users to complete their profile after sign up?
1
Rails
I'd like to 'force' users to complete their profiles after having signed up on a Rails monolith app.
Chris Oliver replied

switching to another ruby version
2
Rails
hello guys i have issue like this , i download some rails projects from github and run server but in every situation ruby version missed the project was old or not comparable with my ruby vers...
Daniel Gagne replied

Orphaned Children by James Jelinek
0
General
Another useful tip is to check out my Hyper Paranoid gem which instead of deleting a record, it sets a deleted_at attribute. That way you can recover deleted records if you need them later. https:/...
Chris Oliver posted

has_many through association with collection_check_boxes question not working at create action (kinda)
0
Rails
Testing has_many through association, I want to do that Product has many Category, and Product has many Certificate. Both associations are two-way, and the setups of them, as below, are pretty muc...
DC posted

Handle money in Rails
1
Rails
Hi,
What do you think is the best way to handle money in rails?
At the moment i use a decimal field with a precision if 16 and a scale of 2.
the problem is that we use the comma as a decimal sign...
Chris Oliver replied

Organizing Rails Model Files Discussion
6
General
Great episode, Collin: thank you
I also found the annotate output at the top of the file annoying, so my team now has annotate config set to output at the bottom of the file:
Annotate.set_def...
cjilbert504 replied

NameError: uninitialized constant Stripe
2
Rails
Hello,
I am receiving the following error "NameError: uninitialized constant Stripe" when I ran `Stripe::Customer.all` in the rails console. This was from following along on your class Stripe Subs...

Rails upgrade companies
3
Rails
I'm wondering if anyone has any experience with any of the Rails upgrade companies that are out there? We're looking to get all of our apps on the latest and greatest and trying to decide if hiring...
robert replied

Ruby Language
1
Ruby
Hello, I'm brand new here. I'm looking to train myself in Ruby on Rails, but I have no knowledge of the Ruby language itself, wouldn't there be a series devoted to learning the language without a f...
Paulo Abreu replied

GoRails forum report spam feature - broken?
1
Site Feedback
Hey 👋
Been trying to report spam recently and get "The page you're looking for doesn't exist" - on Firefox 87.0a1.
Is anyone else able to report spam on this forum?
If not, is there another pref...
Matias replied

ActionController::Parameters.new.require(:person)
1
Rails
Hello,
Note:I configured the App with config.action_controller.action_on_unpermitted_parameters = :raise.
Assuming I have a Model Person with attributes :name, :age.
If params = { name: "penguin...
Penguin replied
Solved

Reload or refresh issues!?
0
Rails
Created an app with rails 6 & ruby 2.6.6
Issues
1:::: I edit files expect to refresh my browser & see changes... no changes noticed! I have to restart server to see any change? Is there not...
John q kiewum posted