It appears to be a 1.9.2 addition.
On Friday, March 2, 2012 1:32:00 PM UTC-5, Walter Lee Davis wrote:
>
>
> On Mar 2, 2012, at 1:20 PM, nosretep wrote:
>
> > Running "rails new yourapplicationname" creates all the requisite files,
> however two of them have bad sy
I'm using Ruby on Rails with JRuby on Tomcat.
This is my controller:
class ApplicationController < ActionController::Base
def index
render :stream => true, :text => "Hello World!"
end
end
This is the output:
c
Hello World!
0
Does anyone have any idea why the "c" or the "0" charac
Running "rails new yourapplicationname" creates all the requisite files,
however two of them have bad syntax.
session_store.rb
is:
YourApplicationName::Application.config.session_store :cookie_store, key:
'_yourapplicationname_session'
should be:
YourApplicationName::Application.config.session
On Friday, March 2, 2012 3:33:40 AM UTC-5, mkristian wrote:
>
> this feature needs Fiber and that you have only with ruby 1.9.x, i.e.
> you need to use jruby in 1.9 mode. there is options setting in jruby-
> rack (or in warbler).
>
Yes, just found that. This now works.
warble.rb:
Warbler::Conf
Is there any way to utilize Rails HTTP Streaming, the conventional way
provided in Ruby on Rails 3.1, with JRuby (running in Tomcat)?
I did not expect this to work, but I'll post the error message anyway:
NameError (uninitialized constant
ActionView::StreamingTemplateRenderer::Fiber):
/path/
Unicorn is "clean".
What I should have wrote is "In addition to Unicorn, are there any
other HTTP Servers, for Ruby on Rails, that "cleanly" support HTTP
streaming?"
Thank you!
On Feb 29, 10:41 pm, nosretep wrote:
> Are there any "clean" alterna
Are there any "clean" alternatives to Unicorn for HTTP streaming?
By "clean" I mean using the :stream option during render.
class MyController < ActionController::Base
def index
render :stream => true
end
end
--
You received this message because you are subscribed to the Google Groups "
instantiate_record calls new, and new implicitly calls initialize
(unless I'm not understanding the mystery)
In base.rb
def instantiate_record(record, prefix_options = {})
new(record, true).tap do |resource|
resource.prefix_options = prefix_options
end
end
As it's written get an Argument
Looks like a great start. Thank you!
On Jul 21, 3:38 am, Gilbo wrote:
> http://github.com/cainlevy/snailmay be a start
>
> On Jul 20, 11:14 pm, nosretep wrote:
>
> > Is there a Gem that can be utilized for displaying postal addresses in
> > the format specific to thei
Is there a Gem that can be utilized for displaying postal addresses in
the format specific to their destination country or region?
Basically, a Gem that programatically does what this site advises?
http://www.bitboost.com/ref/international-address-formats.html
Anything similar?
Thanks!
--
You
10 matches
Mail list logo