rvanlieshout: when i do Church.first.memberships, it gives me an array of two membership types, which is correct. how do i then get all members that are associated with the membership. I hope i am making sense
rvanlieshout: when i do that it gives me all members, but there are different members. how do i get the members(RM, ICL, FT) for a specific membership e.g. FT
rvanlieshout: it didn't give me the rehired output, foobar, was replaced with status which is the table name
rvanlieshout: i have 3 models, church members and membership. church has 7 columns that has different values, membership has 5 columns (RM, FT, ICL, CO) and the table name is status. Want i am trying to achieve is i want to be able to retrieve the members that have a particular membership from a particular church, e.g. Church is foo, membership is RM, i want to get all the members that belong to foo and RM
rvanlieshout. what conditions? i want to get the members of a particular membership that belong to a church. e.g. mooru is an RM member from FOO church. I hope that explains it. AM quite new to rails
rvanlieshout: i already have the values in the DB form the models i created.
Radar: when i save the form, i want the foreign key to get saved into the database not the value. when i click save, the foreign key saves as 0, meaning that it didn't save the foreign key