Search Results for "rails-multi-level-marketing-binary-tree"
Lessons
Forum Threads
rails binary tree and referral
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
1
General
Looking for Rails work? / Hiring Rails developers?
Similar to the Hacker News thread, I thought we might start up a thread for anyone looking to hire a Ruby / Rails freelancer or if you're a freelancer looking for work.
*Please lead with either SE...
Chris Oliver
replied
51
General
Multitenancy with the Apartment gem Discussion
its possible to use this gem without subdomain. So every tenant will have same domain but inside the logic there is scheme segregation ?
soutsur
replied
80
General
Followed the deploy instructions; nginx throwing a 500 for rails app
I'm not sure what happened, but I had a production environment/config working with nginx/passenger deployed on Digital Ocean. I am not seeing errors in log files, but nginx is throwing a 500 when I...
Matt Bjornson
posted
•
Solved
1
Servers
Domain & Subdomain Routing Constraints in Rails Discussion
Thanks, I'm happy to see u here
bradnealy
replied
10
General
Rails for Beginners Part 24: OmniAuth 2.0 URLs Discussion
I'm getting this when I click the "Connect Twitter" button, I guess the credentials are not working but I don't know how can I solve this.
"Started POST "/auth/twitter" for ::1 at 2022-05-04 11:59:...
Elzertuche87
replied
49
General
How would one go about sorting ActiveStorage has_many_attached objects?
Add an Array/JSON Array type column to the model which declares the has_many_attached and store ids of ActiveStorage::Attachments in it. Then you can do :
```
# app/models/entry.rb
class Entry &...
Tomas Valent
replied
•
Solved
7
Rails
Handling Subdomains and Multitenancy From Scratch Discussion
This is great, thank you.
I'm wondering, just to round out the initial Wordpress example, can you briefly describe what is needed to be done to land on lvl.me (like Wordpress.com), login, then ge...
Robert Ault
replied
56
General
Multi-event .ICS file generation?
well, nevermind, I put it in the controlller on the active admin index page like this:
```
def index
@myevents = Invoice.ransack(params[:q]).result
super do |format|
format.ics ...
kayhtee
replied
12
Rails
Structure Guidance - Multi Tenancy Authentication / Authorization
> You can set the session[:company_id] to a default when they login, or allow them to use the site under a "Personal" account without a company.
Hi folks, appreciate the commentary, it's extra ...
BKSpurgeon
replied
20
Rails
How do I create an app with Urls like 'https://username.website.com/' instead of 'https://website.com/username/' ?
All the navigation is in `app/views/shared/navbar.html.erb` 👍
Chris Oliver
replied
•
Solved
18
Rails
Deploy Ubuntu 12.04 Precise Pangolin Discussion
It was a permissions issue. Everything was set to nogroup somehow.
Matt Gardner
replied
105
General
How to attach "users" to a tenant/tenants with Rails multi-tenancy/apartment
of course it is Gourav.
Tabish Iqbal
replied
•
Solved
12
Rails
Build Multitenancy App in a different way
So presumably the foreign_key on all your records would be `organization_id` as per Chris Seelus's method?
BKSpurgeon
replied
11
General
I want to understand how basecamp separates account?
Along with what the others already mentioned, I've also found it easier to work with nested routes instead of subdomains. Subdomains used to (not sure if they still do) require additional work for...
Dan LeGrand
replied
4
Rails
Multi Site in Rails
Probably not if you don't have a database. The gem is designed for that, but you could write a `before_action` that looks up the correct site as soon as the request starts. That would do basically ...
Chris Oliver
replied
4
Rails
How do I have SubDomain and Multi-Tenant in Rails project.
Thank you Chris I will try to do the same, but getting error on root page.
www.lvh.me:3000 is redirected if account is not present and its not working please assist me.
Gourav Lele
replied
4
Rails