I agree with Libbysmom, it really depends on where she is sleeping at home. At 2 my dd was in a bed, but a very low toddler bed. If we were travelling then she would sleep with me, and dh would take the other bed. We probably wouldn't have bothered with a bedrail, but it really depends on the child.
Bev