Ruby on Rails Community Forum

Multi tenant with different template (View)

0
General
I've ask this question once but not clear on implementation, i've a multi tenant application using different template (View). Every tenant required to setup and choose template from setup. after th...
Oyewole Samuel posted

How do I set up dynamic routes?

0
General
I asked this question on Stack Overflow: http://stackoverflow.com/questions/35519550/dynamic-routes-rails-4. If anyone has any feedback or an answer to this I'm all ears. I've been hashing through ...
Chris Collinsworth posted

How i can do multiple login with devise?

4
Gems / Libraries
Hi everybody temporary i'm working on some rails project where i have one super admin which can create company, employee, resources also he can to add employee in the some company employee can to h...
Stefan Dabizljevic replied

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

Lots of trouble using LESS in a paid theme.

8
CSS
Hi, I have a paid theme from Themeforest that uses LESS. It sucks, but I didn;t notice at the time. I am using the less-rails gem and things were going OK. I am now trying to put together an admin ...
Alan Reid 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

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

Testing Turbolinks 3 partial replacement

1
Testing
Hey Chris (and everyone else) - Have you played around much with Turbolinks 3 partial replacement? (Chris, I wathed your livecoding segment; was great, thanks.) I'm using it with Rails 4.2.5, and...
Chris Oliver replied

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

Rails Console

2
Rails
Hi all, This might be a retarded question but how do I access things other than Models in rails console, such as Controller methods, engines etc.? I wouldn't mind seeing a video dedicated to conso...
Chris Oliver replied

Some good ways of seeding data in my app?

2
Databases
I need some seed data for my app. How do I seed Devise users, and always as images for Paperclip?
karl replied

How to use devise with Adminitrate?

7
Gems / Libraries
Great tuts, please how can i use this with devise? when i run rails generate administrate:install, it generate error... says admin is not a class, already have a devise called admin, also have a vi...
Oyewole Samuel replied

Learning Ruby on Rails? Join our newsletter.

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