Active record adding odd chars to insert statement

I’ve got some code that creates a Company object and saves it:

	c =
		:name => params['company'],
		:account_valid_until => mysql_date_format(14.days.from_now),
		:account_type => 'standard'

but in the SQL generated by AR, I see (with ‘name’ being what was

‘— \n- name\n’

Any idea where this is coming from?? If I view the value before it’s
saved, the chars aren’t in there…
[email protected]
v. 267.640.2195
f. 215.689.1454

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs