06 Oct '13, 12pm

“ActionController::Streaming - APIdock”

This means that, if you have yield :title in your layout and you want to use streaming, you would have to render the whole template (and eventually trigger all queries) before streaming the title and all assets, which kills the purpose of streaming. For this reason Rails 3.1 introduces a new helper called provide that does the same as content_for but tells the layout to stop searching for other entries and continue rendering.

Full article: http://apidock.com/rails/ActionController/Streaming

Tweets

@apidock Hi! I found that default option is :lo...

apidock.com 26 Sep '13, 7am

where the time is set to the beginning of the day. The timezone can be either :local or :utc (default :local).

ほぅ。Railsにはdeep_dupってメソッドがあるのね。深いコピーが出来る。

apidock.com 27 Sep '13, 2pm

Welcome Register Projects Help About Blog APIdock release: IRON STEVE (1.4) If you have any comments, ideas or feedback, f...

メモ: undefined method `values' for nil:NilClass →

apidock.com 04 Oct '13, 7am

objects for all the associations in the class. If you only want to reflect on a certain association type, pass in the symb...

@freaklikeme @clemensk there’s even a paragraph...

apidock.com 01 Oct '13, 3pm

This could even happen if you use transactions with the ‘serializable’ isolation level. The best way to work around this p...

Such a hack. Shouldn't exist at all:

apidock.com 27 Sep '13, 2pm

find a declared constant with the name specified in the string. It raises a NameError when the name is not in CamelCase or...

@andrzejkrzywda you can call .except(:order) on...

apidock.com 25 Sep '13, 9pm

Removes from the query the condition(s) specified in skips . Example: Post . order (' id asc '). except ( :order ) # disca...

just learnt: you can't overwrite an .order in A...

apidock.com 25 Sep '13, 9pm

Replaces any existing order defined on the relation with the specified order . User . order (' email DESC '). reorder (' i...

Streaming the 4v4 1nD AM!! Come chill!! @TheRap...

twitch.tv 07 Oct '13, 5am

Go to Profile 4v4 1nD AM 4v4 1nD AM xGaToIR playing You need Adobe Flash Player to watch this video. Download it from Adob...