1

Let's say we are passing in something like :mash => true

Now inside of params I want to

takeit = params[:mash]

What class is takeit? It's not boolean of course.

Thanks for helping.

1 Answer 1

2

It will be a string.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.