if I have an Eloquent Model called Post, and the mysql table has:
integer ID, string Text
How do I convert this JSon:
{ post: { text: \'my text\'
Can you try it like this?
public function store($poststuff) { $post = new Post; $post->text = $poststuff['text']; $post->save(); }