Feature/2 improve rails convert dynamic finders

@flyerhzm Please review. For the options in finder, please give me some suggestions if they are not well tested. Thanks.
@flyerhzm I checked the db attributes here at first but moved the code out. Will remove this helper.