Ruby on Rails Community Forum
Building complex multi-page forms. Build from scratch? Gems?
1
Rails
I want to make a "new application" feature that will require several pages, form validation on each page before progressing to the next, and routing users to different pages depending on which opti...
Chris Oliver replied
ActionCable in JumpStart project
1
Rails
Hi!
Is there anything special I need to consider when using ActionCable in a project created with the JumpStart template?
I've followed several tutorials (e.g. ["Action Cable ‘Hello World’ with R...
Chris Oliver replied
"You must use Bundler 2 or greater..." Error
1
Rails
rails -v
`Rails 5.2.3`
ruby -v
`ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux]`
bundler -v
`Bundler version 2.0.1`
On creating a new app and trying `rake db:create` i get: `You must use ...
Chris Oliver replied
Solved
Help please! Error starting Rails server
0
Rails
Hey guys. I am new to Rails. I have installed Rails 5.2.3. I have Ruby 2.6.3. Both are confirmed to be operational when running the --version command.
I have tried to create a new rails app calle...
FSirju posted
rvm vs rbenv
3
General
Hi Chris...My 2012 iMac GPU gave out and its not worth fixing..I am awaiting my new imac 27 5k.
I have been using rvm for years most because I like when you download an example app to learn from m...
ken mcfadden replied
Display Posts on Homepage
2
Rails
I am building a social app and I want to display the content of the /posts page (index.html.erb) on the homepage if a user is logged in.
The code below works just fine on the /posts page to displ...
MikeLangford replied
Solved
Access the request object in a helper in a helper test (minitest)
2
Testing
Using Rails 6 and minitest, I am testing a helper method which generates a JWT token to make a request to an external service. Inside the JWT's payload hash, I need the pass the source url. Ideally...
Wout replied
Solved
FTP Service for Active Storage
2
Rails
Hi!
I am developing a service for ActiveStorage https://github.com/gordienko/activestorage-ftp with the ability to download and delete files via the FTP protocol, and the display via Nginx. The mo...
Alien replied
Page blinking when using tailwindcss
1
CSS
Hello guys,
I am trying to use tailwindcss on a 5.2 ruby on rails application with webpack. Everything is set up and works well according to the video [How to use Tailwind CSS with Rails](https://...
edouard replied
Solved
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
Setup Errors for Rails on MacOS 10.14 Mojave
3
General
Hello everyone!
I have already installed Ruby Environment, but each time I try to install Rails on MacOS, it's giving me the following errors:
Jerricas-MacBook-Pro:test_app jerricajohnson$ rails...
Chris Oliver replied
To use Rails 6 or Not
2
General
Hey Go Rails Fam,
I'm starting a new project this weekend and I was wondering should I user Rails 5.2.3 or just start the project with Rails 6.0.0.rc1? Let me know what you think.
Cheers
Rob
Rob Thomas replied
Solved
OS Mojave 10.14.5 installation failed
1
General
Yesterday update of Mojave arrived..
Since then I cannot install: rbenv install 2.6.1
(brew install rbenv ruby-build, works)
How the problem can be solved ?
(cleaned the the tree, but doesn't...
James replied
How to process form_with using GET request as XHR
0
Rails
I'm working on a Rails 6 app, and want to update page view based on a dropdown value selected using XHR. Dropdown must use **GET** method coz I am calling **index** action.
I am using form_with wh...
Maaz Siddiqui posted
Blazer and webpacker
0
General
Hi, lads!
It looks like blazer requires default asset pipeline and doesn't work with webpacker. Did you saw any hack/fork how to make them work together?
Alexey Poimtsev posted
one to one association query?
0
Rails
I want to generate a custom report based on params which includes table names and column names. How to write a query on one to one association.
Satish Z posted
Browser Back button click.
0
Javascript
I am using pagination and suppose I click on pagination count 3.
It opens the table afterwards I any one link.
After this I want to get back to same 3rd page so I clicked on browser back button, so...
Rahul Kumar Srivastava posted
Issues running System Tests due to missing font?
0
Testing
I have written two system tests for my current application and I have now hit a road block.
```
test "visiting the timesheet index without signing in" do
visit timesheets_path
assert_te...
Stephen Sizer posted
Actionable Errors in Rails 6 Discussion
5
General
This feature is sooo cool :D
Jules Thea replied
How do I get bin/rails app:template LOCATION=.. to actually work? (rails template with existing app)
7
Rails
I remember Chris mentioning in the "Rails Application Templates" video that he was covering only templates for new rails apps because applying templates to existing apps is "complicated." I'm begin...
Jeff Helman replied