<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>h5y1m141</author_name>
  <author_url>https://blog.hatena.ne.jp/h5y1m141/</author_url>
  <blog_title>40歳からのキャリアチェンジ</blog_title>
  <blog_url>https://h5y1m141.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>ブログを閲覧するアプリに欠かせないページング処理（paginate/pagination）について調べて、実装をしているのですが、思ったように作れないこともあってしばらくブログ更新滞ってしまいました。ページング考える上で、サーバ側、クライアント側のiPhone双方から情報の受け渡しをしやすい形にする必要があるなーと気づきました。Sinatra＋MongoDBという構成にしているのですが、MongoidというMongoDB用のORMを使っています。Mongoidのドキュメントを読むとpaginateという記述があって標準で利用出来るようなのでまずは単純にMongoDBに接続して、１ページ５件分の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh5y1m141.hatenablog.com%2Fentry%2F20110223%2Fp1&quot; title=&quot;034-Mongoidの機能を活用してページング処理実装 - 40歳からのキャリアチェンジ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-02-23 00:00:00</published>
  <title>034-Mongoidの機能を活用してページング処理実装</title>
  <type>rich</type>
  <url>https://h5y1m141.hatenablog.com/entry/20110223/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
