• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
Recently, I've been making web sites by using Merb. It was like a battle lacking logistics. I made and released dm-pagination on github. Yes, I know dm-is-paginated-0.0.1, but its spec files was not working. The dm-pagination is able to be used with arbitrary collections which include scoped_query. You can easily paginate, like this: ruby>> class Posts def index @posts = Post.paginate(:page => params[:page]) end <<-- Links will be drawn by calling simple helper method. html>>
    <% @posts.each do |post| %>
  • <%= h(post.body) %>
  • <% end %>
<%= paginate @posts %> <<-- [merb_slice-gen](http://github.com/genki/merb_slice-gen/tree/master) is also available in order to provide useful generators for slices of which it has namespace but doesn't have subdirectories. You can generate controller, resource and resource_controller in slice project, like this pre>> % slice-gen controller top <<-- it generates controller files enclosed by SliceName module without any subdirectories. In addition, there are other gems I made. * [genki-merb_component (0.1.1)](https://github.com/genki/merb_component/tree) * [genki-merb_recognize_path (0.0.2)](https://github.com/genki/merb_recognize_path/tree) * [genki-merb_timezone_select (0.0.2)](https://github.com/genki/merb_timezone_select/tree)
posted by takiuchi takiuchi on Thu 15 Jan 2009 at 02:33 with 0 comments
Contents rssrss
Google +1 button causes trouble with Amazon ELB
How to build collada-dom on Linux
cmakeをhomeの下にインストールする手順のメモ
原子レベルのレンダリングに関するメモ
gluLookAtの等価表現
Where the Fl_Gl_Box is / Fl_Gl_Boxのありか
How to display the list of options for CMake
How to install collada-dom to MacOS X
積分方程式の分類について
Terminology of parallel computing needs recomposition
Tags
memocmakecolladaopengl3Damazonatomiccgcomputingdnselbfltkgoogleissuemacmathparallelreportthoughtsメモ
Comments rssrss
https://www.spb-pto.ru/zayavka-to-novatorov/ https://www.spb-pto.ru/zayavka-to-novatorov/: Техосмотр 2026: отменили, а он всё равно догнал во... 05/28 01:01
Spencer Spencer: You don't have to re-compile it, this version work... 04/08 07:15
staiano staiano: Any chance we can get a recompile for 10.9? 01/10 01:47
falsefalse falsefalse: @tiancongxin try using this one https://github.com... 02/14 08:04
tiancongxin tiancongxin: TerminalCopyOnSelect not work on OS X 'Lion' , cou... 07/21 17:21
staiano staiano: Roderick you rock for recompiling it. Thanks. 03/25 02:42
瀧内元気 瀧内元気: The merbi.st domain has been expired. So now it is... 01/03 17:25
Roderick Roderick: I've compiled the current version from github, thi... 08/24 15:57
Services from s21g
YOMU Web小説リーダー
小説投稿サイトの公式ページを開き、WebView表示と読み上げ向け表示を切り替えて、移動中や作業中にもWeb小説の続きを聴きやすくするiPhoneアプリです。
補助探
公開されている補助金・助成金情報を集約し、条件に合う制度を探しやすくするサービスです。
jotter.me
個人開発者のためのホスティング一体型ノートサービス
ハンドミラー
iPhone向けの手鏡アプリ
ツイプロ(twpro)
Twitterプロフィールの高速検索エンジン