Welcome Guest, Not a member yet? Register   Sign In
turn array into object active record can use
#7

[eluser]dionysus[/eluser]
Magic. Got it.

Again, thanks for the brilliant help. I don't know why, but that is one of the best replies I've ever had to a coding question (maybe because you just saved me having to go through 80+ views and changing hundreds if not thousands of lines of code to work the way I had it Smile ). It's also nice to learn something, but yeah, that's a lot of code to rewrite.

BIG thanks!

p.s. I think that since the app is still evolving and I'm not 100% sure which fields will or will not be encrypted (which maybe is where the optional flag comes in?), and since I'm kind of flying by the seat of my pants- the solution you proposed works fine. Especially since, as you mentioned, there are any number of things that could 'break it' no matter where it lives. Maybe a little while down the line I can extend the class, but for now this is fine.


Messages In This Thread
turn array into object active record can use - by El Forum - 06-09-2010, 09:29 AM
turn array into object active record can use - by El Forum - 06-09-2010, 09:42 AM
turn array into object active record can use - by El Forum - 06-09-2010, 10:10 AM
turn array into object active record can use - by El Forum - 06-09-2010, 10:28 AM
turn array into object active record can use - by El Forum - 06-09-2010, 10:52 AM
turn array into object active record can use - by El Forum - 06-09-2010, 11:02 AM
turn array into object active record can use - by El Forum - 06-09-2010, 11:37 AM
turn array into object active record can use - by El Forum - 06-09-2010, 11:50 AM
turn array into object active record can use - by El Forum - 06-09-2010, 12:54 PM
turn array into object active record can use - by El Forum - 06-09-2010, 02:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB