link_to question

1
Rails
I'm working on a project management app that has a dashboard which links to tasks that are overdue, due today, this week, next week etc. I can display the task titles fine but can't get the links...
Solved

Stripe gems: Koudoku or Payola

4
Rails
Has anyone used either https://github.com/andrewculver/koudoku or https://github.com/payolapayments/payola ? If yes, are you able to give any feedback regarding ease of use, ability to customise, e...
Solved

undefined method `service_path' when adding best_in_place

1
Rails
I have an application that has customers and services. Customers has_many services and service belongs_to customer. In the customer show page, I can add or delete services. But I can not edit servi...

Nested Forms Tutorial: How do you display the Tasks in the Project Index and Show Views?

2
Rails
I am trying to display the Tasks on the Products#index and get Type Error in Projects#index "can't cast Enumerator" How can I display attributes from tasks on the Products views? Here's my code...
Solved

Share scopes/nested routes/inherited resources?

0
Rails
I'm in the process of learning Rails (loving it so far) and my play project (A task list, obvs) is structured a little like this: Task -> belong to project/project has many tasks Task has scope...

Simple_calendar how to only show start and end date on calendar?

3
Rails
Say I have an event that starts on a given day and stretches out a month to an end date. Is there a way to only show the start and end date but do not show on the calendar the event listed for all ...

How do I share my master.key with capistrano deployment

1
Rails
After following the guide [Deploy Ruby on Rails on ubuntu 18.04](https://gorails.com/deploy/ubuntu/18.04) I still have several problems with the app. Shows me the same error when rails can't find ...
Erica McDevitt replied
Solved

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

How can I use summernote editor in rails?

1
Rails
I am making a notebook app and wanted to implement the summernote text editor, the docs for summernote-rails are nearly 3 years old, and I could not find any other proper guides to implement it. An...
Briton Otieno replied

Autocomplete search across multiple models with results from each model

1
Rails
I'm building a simple wiki app and would like to introduce autocomplete search using Searchkick or pg_search. In the search box I'd like to be able to do a search across both an `Article` and `Cat...
Colin Ambler replied

Best practices for structuring reusable frontend components (coming from Angular/React) ?

0
Rails
Hey I'm an Angular developer diving into the Ruby on Rails, and I'm trying to figure out the best way to structure reusable frontend components, like buttons, in a Rails project. Especially because...
Cengiz Gürtusgil posted

convert from svg to png in active storage

0
Rails
Can I convert a uploaded svg file to png format? In previewer class?

How do i make chat app real time on Digital Ocean?

2
Rails
I am trying to make a Chat web application based on Rails 4.0 using "private_pub" gem which works perfectly on my localhost server. You can check out my application at curatethelens.com. Now my sit...
Maria Kenneth replied

how to properly configure webpack for production

0
Rails
root@ubuntu:~/Make-Rails# ./bin/webpack [webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. - configuration.no...
Sourabh Soni posted

DateTime causes StackError when config.time_zone set.

5
Rails
Hi, I have a strange problem When i do the following method with no config.time_zone set in the application.rb it works. ```ruby def send_assignment @assignment = Assignment.find(params[:id])...

Unable to autoload constant OmniauthCallbacksController, expected /home/ec2-user/environment/Assignment/app/controllers/omniauth_callbacks_controller.rb to define it

0
Rails
Hi Guys i am getting an error this is is my Omniauth controller class OmniauthCallbackController < ApplicationController def twitter twitter_account = Current.user.twitter_account...

How can I validate from a gem that doesn't have the proper validation calls in the model?

1
Rails
Hello Folks, I want to do validation for my mail functionality on my web page. I want to require that a recipient has been entered as well as a subject and body when a new mail is written. The pr...
wyn replied

Watched the video- One Time payments with Pay and Stripe- (embedded), Form never loads....

4
Rails
HAS anyone been able to get STRIPE EMBEDDED PAYMENTS working? I followed Collin's course to the T, but when I get to the point where the stripe form is supposed to be inserted into my DIV on the Ap...
Jon Roock replied

how to add a forum template to ruby on rails?

0
Rails
I'm new to ruby on rails (I'm more used to PHP) and I'm wondering how to add a dynamic template (made of HTML, JS, and CSS) and integrate it. can I just add it to views or do I have to use the gene...
chickencommander123 posted

No route matches [GET] "/auth/facebook"

1
Rails
Hi folks! I am just starting to learn Rails, I want to make a simple OAuth Facebook login and display it after a successful login. I always got No route matches [GET] "/auth/facebook" and can't fi...
Henry Augustianno replied

Want to stay up-to-date with Ruby on Rails?

Join 90,592+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.