Dynamically Defined has_many with odd behavior
Retrospecting, I should have tried to reproduce this independently of the app much, much sooner in the process. like after 15 minutes soon. Would've realized it right then.
Chris Zempel repliedRetrospecting, I should have tried to reproduce this independently of the app much, much sooner in the process. like after 15 minutes soon. Would've realized it right then.
Chris Zempel repliedAmaría saber inglés para poder entender el tutorial :( gracias por el aporte de todos modos.!
Moi_link repliedhi, it's really helpful. i also have a case like this, its a quotation and invoice. does the steps, also copy the association or just the id and refer it to the tasks from previous project? thanks.
msalsabil replied • SolvedIt's been a long week! :) Thanks for taking the time anyway, it's very much appriciated! You also have a weird ability to create videos which contain stuff I'm working with at the time! You think...
Martin McDermid replied • SolvedIf you use: ```` rails g model Comment commentable:references{polymorphic} ```` rails auto creates the compound index for lookup as part of the migration: ```` t.references :commentable, po...
Karl McCollester repliedWow! Thanks for taking the time to answer. Always so helpful Chris! :grinning:
Lauro replied • SolvedHi guys, the problem is that both of these libraries need ActiveRecord to work with, and I'm using only ActiveModelclass Lesson include ActiveModel::Model attr_accessor :students endclass Stu...
Rafael Soares repliedHi @pedro these methods are automatically generated by Rails when you set up an association like the `belongs_to` so you do not need to create it on any model to make it work with this example. You...
Alex Ventura repliedThis 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 repliedThis is exactly what I was looking for!! Thank you so much!!! I'd love to see how you integrate React to this feature too.
Ken Hibino repliedWow, you can't imagine how much you helped me. Thank you. I think I learned a lot already, because I started to write my own blog as a Rails application, but I have to admit, that it was not a good...
Sebastian repliedHey! I really appreciate all these screencasts, happily pro user. For this I'm getting an "undefined method 'likes'" on the user model so i'm a little stuck. Any ideas why?Cheers! :)
Juanmnl repliedSetting Personal Development Goals: Armed with self-awareness and insight into their Enneagram type, individuals can set meaningful personal development goals aligned with their values and aspirati...
Jasper Wilde repliedI am not sure what i am doing wrong but i keep hitting ``` Started GET "/oauth/applications" for 127.0.0.1 at 2018-09-13 14:37:44 +1000 Processing by Doorkeeper::ApplicationsController#index as H...
Jeremy Bray repliedSo finally i ended up with this : def create @attendance_sheet = AttendanceSheet.new(attendance_sheet_params) @team = Team.find(attendance_sheet_params[:team_id]) @...
John Munyi repliedYour model is wrong it's better to have a model named partner for example which has a partner type. Now you can seed it with partner types like Vendor, Customer, Supplier Both, whatever you want ``...
Peter vande Put repliedBrent, could you post your schema.rb and your race controller? Maybe it's just me, but I don't really understand why you have so many attributes in the relationship model (EventRace).
Sean M repliedWhat are you using to authenticate your users in this app if you're not using Devise? The error shown is clearly that it's expecting a password, and your validations on your user model also state y...
Jacob Montgomery replied