How do I change timezone in Ahoy analitics gem ?

1
Rails
I search a lot but no result
ramzieus replied
Solved

Fullcalendar-Scheduler Timeline is not show events in Rails 5.0

0
Rails
Hello, I am using postgres as database, rails 5.0 and ruby 2.4. The problem is, that I have this pur html calendar unsing timeline and timegrid, works ok, when I pass it to my RoR project, only wor...
erniux third posted

How to post remote action and no redirect? ActionCable Series

0
Rails
Trying to submit a form that has a create action in another controller but does not redirect to or render the page (just stay on the page). Error: ``` MessagesController#create is missing a templa...
BrandonKlotz posted

Refactoring controllers to keep them RESTful

3
Rails
Hi gang I have a feature where a user can query the Google Books API with an ISBN number and get the book as a response. I have this all working nicely, but I'd like to refactor my `Books` control...
Nino Rosella replied
Solved

how do i mount a full Vue template into my rails app

1
Rails
I'm preparing for a hackaton and my teammate built a Vue app for the frontend. I've installed rails and vue webpack, and Vue is working well. But I don't know how to incorporate the Vue frontend m...
Tabish Iqbal replied

Adding an inline style to a Datetime_select field in simple_form

3
Rails
How do I add an inline style to a Datetime_select field in simple_form? What I would like to have worked (this is in Slim): `= f.datetime_select :published_at, style="width:auto;"` but this isn't...
ramzieus replied

rails 4.2.8 - stylesheet_link_tag throws ActionView::Template::Error: no implicit conversion of nil into String

0
Rails
I'm trying to update a rails app which runs totally fine if I use rails 4.2.4 (the version it's been developed on) upto rails 4.2.7 As soon as I switch to rails 4.2.8 or later (tested all versio...
Widu Wittekindt posted

Rubu auth without gems

1
Rails
Hello, i'm new to the forum and I am in urgent need of help. I have a client that is asking to change the basic auth in his rails app to an auth that uses a web form, in a page, instead of an ugly...
Chris Oliver replied

How do populate select box with filtered options in cocoons nested forms

0
Rails
Hi, I have been having having a challenging problem as my rails skill is still not great. I am using a cocoons gem to generate nested forms. I have three models `Employee` , `Competence` and ...
hemmpa posted

Request for code review

1
Rails
Hello. Can I ask for a little review of my code? I have been a php-developer for a long time. I really want to learn professional programming on rubi / ruby on rails. This is my [class](https://git...
Tabish Iqbal replied
Solved

Slack OAuth Error: Invalid client_id parameter

0
Rails
Hi guys! I'm getting this `OAuth Error: Invalid client_id parameter` after I insert the user creds. Here is my code contains the `client_id` - `devise.rb`: ``` config.omniauth :slack, ...
Ben posted

find_each from association

0
Rails
Hello someone could explain mehow could i do a find_each that give me all the records associate to my model This is the structure Venue -> has_many :services and Services -> belongs_to Venues...
javier burgos posted

How to pass value from <select> - to method of Rails-controller?

0
Rails
Hello. I would like to share my problem with you. How to pass value from - in this or that, depending on select, method of Rails-controller? If id of (or name) selected is 'one', it should be pa...
Andre posted

Rails Engines for Decoupled Architecture

1
Rails
I'm wondering in using rails engines (plugins) to decouple monolith rails app codebase in modules which could be shuded down in case of bugs and enabled easily without impacting the whole user expe...
Srinivasa Varma D replied

Carrierwave Backgrounder in Rails 5.2?

0
Rails
I have an image uploader on a form, and images upload fine without the background processing. Since moving to Heroku, the larger source images often time out, so I'm looking to move this to a backg...
John Athayde posted

How do I combine these two buttons

0
Rails
im trying to combine the paypal button and the f.submit button but have no idea How to get there Is there any better suggestion ` // Render the PayPal button int...
dinesh124 posted

How do I find a records based on contents of a has_many :through join?

8
Rails
I think I've been at this problem for too long and the obvious answer has evaded me. Say you have students, classes (klass for ruby's sake), and enrollements as the join between them. ```ruby cla...
Peter Marcano replied
Solved

How Can Unstall Ruby On Rails on Ubuntu 16.04 Xenial Xerus

1
Rails
How Can Unstall Ruby On Rails on Ubuntu 16.04 Xenial Xerus
Matt Walston replied

Unable to configure cancancan with active_admin in rails

0
Rails
I am trying to make a blog website. I am using `active_admin` and `cancancan` gem. Two controllers I have made are `Post`, `Category`. **posts_controller.rb** ``` class PostsController &lt; Inher...
pushpam kumar posted

Using Rails API for Angular and iOS, with authentication

0
Rails
We have a Rails API that was used with Angular, we previously used the devise angular authentication plugin. With our new iOS app, we're having difficult trying to figure out how to integrate rail...
Jake Meier posted