General Ruby on Rails Forum
Pundit Policy and has_many through Pt. II
0
General
Hey there,
I decided to start another post although I read this one already https://gorails.com/forum/pundit-scope-and-has_many-through but I need to confirm that my query is on point.
Here's my ...
Ivor Padilla posted
Import a CSV with associations?
6
General
I am building a rails application that associates serial #'s with software titles. For instance, I have a software title, and need to be able to upload batches of serial #'s(codes) and associate it...
Jeremy Bray replied
CoffeeScript Class + Partial remotly reloaded + Binding
4
General
Hi,
I'm currently rewriting my js file following the class encapsulation episode.
It works well but I'm struggling on with the binding/response for my image uploader.
My view contains a form with...
Chris Oliver replied
Displaying previous score in current record
16
General
Hi Chris I got a lil logic issue going on here, have a look at this gist
https://gist.github.com/bl4ckdu5t/ec48cc9d6eedeb877d06
so technically what i want is for each new weekly_performan...
Chris Oliver replied
Stripe EU Vat
2
General
Hi!
Thank you Chris for your great videos. I live in Sweden and I'm trying to set up a stripe monthly subscription on my site and need to collect the correct vat from my users which I'm required b...
Jacob Hedengren replied
Constant Map Filtering
1
General
I have two models Product and Product Properties. So, I store the properties for products in the Product Properties model which is associated with another model Properties
How can I implement a sc...
Michael Victor replied
Sharing on Twitter / Facebook callbacks
1
General
Would love to see a screencast on how to add functionality to share on Twitter / Facebook and receive callbacks. E.g. "Share on Twitter to get extra free month!"
Chris Oliver replied
Integrating Mailboxer with Apartment
3
General
Hi,
I'm trying to integrate mailboxer with apartment, and am having an issue with migrating the tables. I want the mailing service to be universally applied to the app, but apartment migrates the ...
Satchit Shenoy replied
How to know if the user is logged in, in a mobile app.
2
General
Hey guys, I'm trying to figure out how the user authentication works with mobile apps that consumes the Rails API.
I know I can send a POST request to the server to register the user and then gener...
Isaac Ben Hutta replied
Solved
Nested form and models?
4
General
I'm working on an app that will track medication. I have a controller called `narcotic_usage.rb` which will be a simple form to note what narcotics are being used, their expiration dates, etc.
My...
shakycode replied
collapse-able form feature in nested forms
3
General
Hi Guys I am looking for a way to implement a collapsible feature within nested forms, such that during edit the existing forms dont open up in full and user decides which forms he / she wants to ...
JM replied
Re: In-App Navbar Notifications work on page load but not page change
8
General
Hey Chris,
Just watched and implemented the code from this screencast and it's working well. However, I realised that it only works on first page load. Subsequent pages do not run the function. N...
Ariel Wulkan replied
Solved
Create shopify type of Application
1
General
i'm currently working on multitenant application that enable user to create a personalize website after selecting a template, please is there any gem or method to achieve this?? Shopify type of App...
Chris Oliver replied
Solved
Following "Scheduling post" episode with background jobs
4
General
Following Chris great post on scheduling I am using `delayed_job_active_record` to schedule quote from my app to be tweeted and shared on FB.
Here is my `quote.rb` model with the current logic:
`...
Lykos replied
Solved
Opening and closing a window to a new controller/view from a different controller/view
0
General
I'm maintaining an app and need to add a pop-up window or modal that launches from the current view but loads a separate controller/view. So far I have a link_to setup to open the controller/view ...
shakycode posted
Rich text format editor in rails 4
9
General
I am looking for a rich text format editor that is compatible with rails 4, any good ones out there, I want to make beautiful text-areas with rich text.
cheers
Corey Gibson replied
subscribe if old one month user
1
General
Hey Chris,
Just wanted to let you know, that I couldn't subscribe from my profile. I'm used to be subscribed to onemonth, so I got the free half a year subscription to gorails. That has expired a ...
Chris Oliver replied
Solved
How do I use pushstate to create infinite scrolling blog effect in a standard rails app?
2
General
How do I use pushstate in a simple rails blog to create the effect that larger new sites are currently using: as you scroll to the bottom of the page, the next article seamlessly is loaded, the url...
Thomas Bush replied
Use datatables like handsontable
1
General
Hi,
I would love to see a episode that explains the use of json/ajax and load and save back data back to the server. For example i want to use handsontable (http://handsontable.com/) but i cant lo...
Chris Oliver replied
Reoccurring events with simple_calendar and ice_cube
2
General
I am developing a Rails app that has a `Task` model. It's like any basic task tracking system where you can set some attributes (name, activity, status, priority etc.) and a due date. For my syst...
Dan Tappin replied
Solved