texark port over to rails app