« Return to Thread: Puts just work on Controllers

Re: Puts just work on Controllers

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View in Thread


Taking a look through Google I found that some people have the same
problem, but most of them because they have changed from Webrick to
Mongrel. Apparently, console with mongrel does not show the "puts"
messages. However, I am working with webrick.
Damaris Fuentes wrote:

> On the server console.
> I run the server by means of "jruby script/server", in development mode.
> At the server console just appears the information of the HTTP requests.
>
> James Byrne wrote:
>> On Jul 10, 5:33�am, Damaris Fuentes <rails-mailing-l...@...>
>> wrote:
>>> Ok, I will take a look to these ways for debug.
>>> However, I still don't understand why my "puts" don't work.
>>> My non-Active record models are not in the app/model directory, but in
>>> an app/engine directory (is someone else work), can be this the problem?
>>
>> Where are you looking for the output of the controller puts?  Assuming
>> that you are running your Rails test server using script/server then
>> that information is displayed on the server console.

--
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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Puts just work on Controllers