General Ruby on Rails Forum

Development

0
General
Can you offer vue js and nuxt js crash course
David Muritala 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

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

unable install the ruby 2.2.3 and rails 4.2.6

0
General
unable install the ruby 2.2.3 and rails 4.2.6 in ubuntu16.04,Please provide if have any doc I am getting bundler issue
nagendra posted

application.html.erb Help

6
General
Hello, I'm a Rails newbie and I'm following a few tuts but I'm having trouble finding the application.html.erb file? I'm using Rails 5.2.2 and Ruby 2.6.0. Thank Rob
Rob Thomas replied
Solved

I am looking to find a way to work through a modern image upload work flow with active storage

1
General
Things I am attempting to achive, 1. Attach File with a js libary such as Dropzone.js 2. Vaildate file size and type 3. Crop image using libray such as Cropper.js to achive correct image aspect ra...
Carl Tanner replied

How do I update Rails to 5.2 without having any issue ?

0
General
Everything is in the title, except the current version I'm working on : ``` gem 'rails', '~> 5.1.6' ``` Thank you for your help
Damian Nelwep posted

How to complete a task via json using a check_box?

0
General
Hi guys, I am new in this world of web development. I'm trying to mark a task as complete using a check_box, but I can't. Have you any ideas based on my code? Thank you in advance. routes.rb ``` ...
rodolfo posted

rails binary tree and referral

0
General
Hi, i have an application and that is working clear but i wanna add multi level marketing binary tree module to my application. i created binarytree page and also created add_to_column to members ...
mustafa kahveci posted

Rails::HTML Sanitizer: mimic CKEDITOR allowedContent configuration, by specifying attributes and CSS classes for each tag

0
General
Let's say that I want to sanitize user generated HTML written by CKEDITOR or something similar. CKEDITOR has a really nice hash-like syntax for allowing content: ``` config.allowedContent = { ...
TL posted

Rails 5- jQuery works in local production(rails s -e production) but not on Heroku

1
General
I can run jQuery on local production doing `rails s -e production` but when the same project is deployed to Heroku, jQuery doesn't work and I get an error in the console that says > "Uncaught R...
Chris Oliver replied

Any chance we can get a video on how to use a js cropper and using active storage

0
General
There really dosent seem to me good documentation any where on how to crop images with active storage, I know it can be done just seems pretty complex and would be a cool video
Corey Gibson posted

My app keeps crashing

0
General
Hello all, I am new to rails and was hoping someone could help me out. I built an app and at first it said it couldnt find Ruby so I reinstalled it, then it said compiling error so I updated the b...
donaldlund2010 posted

How to optimize the work of clients from different countries?

1
General
My server is located in Norway. My clients live in Norway, Japan, Hong Kong, USA and South Africa. Due to the fact that the server is located in Norway, the ping for customers is very long. I'm usi...
xxx44yyy replied

How update value which run from strong params??

1
General
I have action(strong parameters) in controller: ``` def home_task_params params.require(:home_task).permit(:subject, :description, :data) end ``` i want do something similar to this ``` def c...
Ryan Mindigo replied

How to get param values through radio_buttons ?

2
General
I'm trying to create a TARGET with a responsible user via form_with: ``` <% @users.each do |user| %> <%= f.radio_button :responsible_id ,'', id:"responsible-manage-#{user.id}", c...
rodolfo replied

How long does it take for comments to post?

5
General
I posted a comment on an episode, but it didn't show, so I followed it up with a simple "test" which also didn't post/register. Is there a comment filter or do comments need approval before they'r...
midtown replied
Solved

How to update the card number in billing info?

1
General
I'm trying to update my card number but I can't find the edit button. Thanks in advance :)
Taeyang Lee replied
Solved

Naming conventions for database columns and variable names

1
General
Is there a guide or best case practise to help people on choosing the best database column names (or even for variables?). I am not really looking at syntactical naming conventions such as snake ca...
Amie Fudge replied

how do i solve this

1
General
Please anytime i open my linux lite terminal, this is what i get; ***Welcome to Linux Lite 4.2 kenneth Saturday 08 December 2018, 15:49:04 Memory Usage: 329/1982MB (16.60%) Disk Usage: 8/458GB (...
Jacob Montgomery replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.