To work in development mode, Apache isn't needed. Just run the Rails server:
$ rails s
Then your browser finds it:
http://192.168.1.51:3000/blog
Sent from my iPhone
> On Aug 4, 2014, at 6:22 PM, McHenry wrote:
>
> OK, I am lost...
>
> I have installed both Ruby & Rails.
>
> $ ruby -v
> ru
I have a Rails 3 app running under Passenger on one machine, and on another,
which is our public-facing Apache web server, I've setup a forward proxy to
point to the server where the Rails app is running. It works, but the path to
the javascripts and stylesheets directories are not properly com
Hey Rodrigo,
Have you looked inside db/seeds.rb? That file demonstrates seeding a City
model. Other things you can do, depending on what you need the data to look
like are simple things like:
states = %w[Alabama Alaska Arkansas]
I also think Ryan did a railscast on models that don't exist in
It's pretty tough to answer such a vague question. What about the Guide didn't
help you? http://guides.rubyonrails.org/security.html
On May 22, 2011, at 11:21 PM, Emeka wrote:
>
> Hello All,
>
> I would need someone to explain to me how Rails session works? I need all
> the options availabl
I've had this before, too. But not so recently that I readily remember what
was wrong. Cobwebs suggest it was not much more than a syntax error.
In your controller you have a close brace but no open brace, which causes my
eye to notice that you also have two format.html calls. Is there someth
Wouldn't ActiveRecord Observer class do what you're looking for?
On Feb 16, 2010, at 1:08 AM, Max Williams wrote:
> Thanks a lot Michael
>
> I ended up doing your second suggestion, shying away from the rails
> magic since i couldn't seem to really control it.
>
> Personally it seems most nat
I would add to this excellent list: get extremely comfortable working
in the console, since Ruby is an interpreted language you can learn/
confirm most everything in the console. You'll see Ryan use it a lot
in his RailsCasts, so watch how he uses it as much as watching the
subject he's cove
7 matches
Mail list logo