Ransackで検索機能追加

Railsでransackを使って検索機能を作成する - Rails Webook

DreamWeaverにRailsのエクステンションを入れる

DreamWeaverのRuby on Rails拡張機能「RubyWeaver」 · STUDIO KINGDOMGitHub - cannikin/rubyweaver: Ruby syntax highlighting for Dreamweaver二個目のURLに書いてある通りやっただけ。

改めてRails3.2

http://www.oiax.jp/rails/zakkan/rails_3_1_installation_on_windows.htmlこれを見てインストール。 手順通りやると、最後にhttp://localhost:3000/usersに接続すると、 TypeError: オブジェクトでサポートされていないプロパティまたはメソッドです。 とい…

Mysql5.5 utf8の設定

MySQL 5.1 系と MySQL 5.5 系の文字コード - make world以下が全部utf8になるように。 mysql> SHOW VARIABLES LIKE 'char%'; + Variable_name Value + character_set_client utf8 character_set_connection utf8 character_set_database latin1 character_se…

GITWeaver https://github.com/ChrisMcKee/gitweaver/downloads

TortoiseGit-LanguagePack http://code.google.com/p/tortoisegit/

TortoiseGit http://code.google.com/p/tortoisegit/

msysGit http://msysgit.github.io/

Git+DreamWeaver at Windows

Git

OS: Windows 7(64bit)Installing

GIMPで背景を透明にする方法

バブル2世の猫バカSE録 GIMPで背景を透明化

Windows7にoffice 2010 professionalインストール、error 2908

office2010をインストールする時にセットアップエラーが発生しました。 - マイクロソフト コミュニティNet FrameWorkを最新バージョンにUPグレード。 レジストリのクリーンアップ。それぞれしてみたけど、ダメ。

Install ImageMagick and rmagick on Ubunt 12.04

imagemagick - How to install rmagick on Ubuntu 10.04? - Super UserInstall ImageMagick $ sudo apt-get update $ sudo apt-get install imagemagick graphicsmagick-libmagick-dev-compat Install Rmagick $ sudo gem install rmagick then ERROR: Error…

ホストUbuntu12.04(AMD64)、ゲストWindows7(64bit)

VirtualBoxダウンロードサイト Downloads – Oracle VM VirtualBox参考 Ubuntu で Virtualbox を使う書かれている通りにすればインストールは可能だが、 VirtualBoxインストール後、ウィンドウズをインストールする段階でエラー。 vt-x/amd-v enableだのなん…

Marker

v2new GMarker(latlng, { title:hoge });v3new google.maps.Marker({position: latlng, title:hoge });new google.maps.Marker(latlng, { title:hoge }) じゃないのに注意!

getBoundsZoomLevel

・ある範囲が収まるように視点移動 ある座標範囲を納めるように地図を移動させるには、 fitBoundsを使う。 v2ではcenterとgetBoundsZoomLevelを使っていたが、逆に今度はズーム単体が取れない var minLatLng = new google.maps.LatLng(minLat,minLng); var m…

uninitialized constant ActiveSupport::Dependencies::Mutex

after installed ruby enterprise1.8.7, started rails app, I met next error when database migration.uninitialized constant ActiveSupport::Dependencies::Mutex

internet setting

-> select "manual setting" -> search IP address for temporal using ping$ ping ***.***.***.*** if test is OK, put it for temporal IP address for new PC -> name server; ***.***.***.* name server must be set correct. Installing Ubuntu DeskTop…

internet (bookmarkes)

Installing Ubuntu 12.04 server 64bitjust put in CD and start computer.

email

PC引越し

Backup you must backup next two items. Way of backup is follow to application. -> select "manual setting" -> search IP address for temporal using ping$ ping ***.***.***.*** if test is OK, put it for temporal IP address for new PC -> name s…

select_all

I tried to add "select all" button to check box.HTMLselect all'hoge();' -%>JavaScript for test. function hoge() { alert("ようこそ!"); } but window does not open when checked select all check box.error message;select_all is not a function.…

memo

IT

nohup CodeZine(コードジン) nohupコマンドを実行して起動したコマンドは、ハングアップシグナルを無視します。また、バックグランドジョブとして起動(コマンドの末尾に「&」を付けます)したコマンドは、ログアウト後も、バックグランドで実行を続けます…

JMS, Apache ActiveMQ

1.JMSの基礎 | TECHSCORE(テックスコア) JMSとはJava Message Serviceの略で、Javaでメッセージングサービスを利用するための標準APIです。 メッセージングとはプログラム間でデータを細かにわけるのではなく、一つのメッセージオブジェクトを作成して通信を…

internal server error 500

check available space of hard disc$ dfin the case of internal server error (500), check the space of /tmp directory

install

PHP

1, install$ sudo apt-get install php5 libapache2-mod-php52, apache setting create and setting /etc/apache2/sites-available/php NameVirtualHost *:80 ServerAdmin webmaster@localhost ServerName PHP DocumentRoot /home/***/www/php 3, test creat…

Rails2.3 => Rails3.2

db $ APP/rake db:drop:allsonota$ APP/rails destroy controller hoge

Could not find a JavaScript runtime.

$ APP/rails generate scaffold hoge name:stringError /usr/lib/ruby/gems/1.8/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available …

iroiro2

IT

CRUB; GRand Unified Bootloader GRUBの使い方入門 (1/3) - ITmedia エンタープライズ コンピュータの電源を入れると最初に実行されるソフトウェアが、オペレーティングシステムを起動するためのブートローダだ。多くのLinuxシステムにはGRUB(GRand Unified…

10.04 hikkosi

linux環境まるごと引越し: misc http://homepage1.nifty.com/cra/linux/rootcopy.htmlEvolution mailer backup .evolution file under your home directory. FF Bookmarks => Show All Bookmarks => Import and Backup Ubuntu backup Use SBackup 第4回 Ubun…

tmpdirライブラリ

るびま テンポラリディレクトリ (一時ディレクトリ) を扱うためのライブラリです。一般的には、何か一時的な作業をするディレクトリとして "/tmp" などを使うべきではありません。 OS によっては存在しなかったり、使い方を間違えるとセキュリティホールの原…