Ruby on Rails Community Forum

Nested attributes permit

2
Rails
Hey out there, i am sorry to bother you with my stupid question, but it is important for me, and unfortunately I am not able to find an answer myself. I have tried to conduct the documentation, ...
Sebastian Edler replied

Bootstrap and Vue?

0
Rails
Which way is best to implement **Bootstrap and Vue in Rails 5.2**? Keep the original Bootstrap4/jQuery sass lineup and use Vue where it is needed or a setup with Bootstrap-Vue ( https://bootstrap-v...
fregadetto posted

rails link_to_if controller, action and format exist

1
Rails
I am trying to dynamically render some links to the index action on a range of controllers. Essentially just create a table of all my models with a count of their records and a link_to the index p...
David Hill replied

Machine learning in Ruby?

0
Ruby
I know Python is more popular for ML, but I prefer Ruby, and I was wondering if anyone has experience using Ruby for ML projects.
Ivan Raszl posted

Multi-tenant: Different user set for different databases

0
Rails
Hi, I am building an application where I have a requirement for different user set for different databases. Can someone please guide me, how can I achieve that using apartment gem. I am using MySQ...
Conal Beaty posted

no routes match [post] when creating a user with form_with using devise

0
Rails
``` <% if !user_signed_in?%> <%=form_with(model: @user, local: true, url: new_user_registration_path, method: :post) do |form| %> <%= form.label :email%> <%=...
AMOS DJORO Nicolas posted

Detect Week Days

0
Rails
Hy to all! :) I have school application. In this app all rooms only work in especifc days "Tuesdays and Thursdays" for example. A need detect this days in month and put one checkbox for verfy st...
Jhonatan Petronilho posted

Problems with 'generate' command.

4
Rails
Hello everyone, as you read in the title I have an issue with the 'generate' command from the terminal. following you will find pasted the command i am giving: ``` MacBooks-MacBook-Pro:squirrool...
Zanger02 replied

How do I process request with parameters

2
Rails
i am new to ruby on rails, just run the examples https://guides.rubyonrails.org/getting_started.html#installing-rails I just wonder if I want list all the articles with certain string in the title...
mike zenon 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

Vue Trello series - Disable VueDraggable on certain child fields such as "Input"

0
Javascript
Hi, So I've just worked my way through the Vue trello course series (Love it by the way), and no going on to rework and add some more flair/features to it. One feature I'm looking to improve is a...
Matthew Deloughry posted

Form Object for devise authentication

1
Rails
Hi all - I need to create a signup from having company details along with user details. Currently I am using devise for authentication. I would like to create a form object rather than using accept...
Zanger02 replied

Hiring Ruby Developers in West Yorkshire, UK

0
Ruby
I'm recruiting Ruby developers for an international communications company based in Wakefield, West Yorkshire, UK (see pic) - salary is open. I'd love to chat with anyone who fancies a fresh chall...
Richard Downs posted

Ruby new

1
Ruby
Hi, I'm new to ruby and I need your help.
Chris Oliver replied

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

Auto saving forms as they type.

2
Javascript
Any good tips on how to auto save the form while user is typing? For example: Post is a model. I press create new post to open up a form. While I am typing a post field—it auto saves the post pr...
Anthony Lee replied

Reputation Gems - Merit

0
Gems / Libraries
I was looking at reputation gems, and it seems [Merit](https://rubygems.org/gems/merit) could be a good choice. Quick Question though, can you add this to existing User models? Or does it need t...
Simon Cooper posted

Is it better to switch from scratch to Devise ?

0
Rails
Hi everyone, I'm working on a project since some time now and made up some authentication system from scratch thanks to Michael Hartl among other resources... I was just thinking about the idea to...
Damian Nelwep posted

Learning Ruby on Rails? Join our newsletter.

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