When I make a new post in my blog, it returns this when I try to view my
current posts:
---
ActiveModel::MassAssignmentSecurity::Error in PostsController#create
Can't mass-assign protected attributes: text
Rails.root:
I actually did edit the config file, route already. But thanks anyways.
I guess I edited it wrong. Thanks for the advice on doing it myself. I
probably did something wrong when I edited the file but your totally
right.
--
Posted via http://www.ruby-forum.com/.
--
You received this message
Oh my god. I just realized I don't know how to run an error. LOL!!!
Could someone help me with that?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to
It switched it to public/index. So, I don't know what went wrong.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To
Alright, so I've been starting to use rails lately. The thing is while
getting set up I had an issue. The issue was localhost:3000 not showing
up.
I fixed it BUT when I changed the root of my application, it doesn't
show it. In fact, it returns a routing error. The error says this:
When I ran it? It returned an error I think. I'll check tonight. By
chaining the root I mean changing the index file. I'm on a mac right
now, but when I was using rails, I was on my windows laptop because
that's what I use to program in general.
--
Posted via http://www.ruby-forum.com/.
--
6 matches
Mail list logo