Langsung ke konten utama

Postingan

Menampilkan postingan dari Juli, 2011

ruby on rails DEPRECATION WARNING: Giving :session_key to SessionStore is deprecated, please use :key instead.

DEPRECATION WARNING: Giving :session_key to SessionStore is deprecated, please use :key instead. (called from new at /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/middleware_stack.rb:72)

=== please go to config/environment.rb

config.action_controller.session = {
:session_key => '_blog_session',
    :secret      => 'f3f57b71ef9345ffccd0c4e841d8e74bb2e7d2ef692a5303bb455fea0667a62d30458d17f95766b12906aa6c2a3c29d584a55dd18426ffc04610be49956a51af'
  }

change to:
config.action_controller.session = {
:key => '_blog_session',
    :secret      => 'f3f57b71ef9345ffccd0c4e841d8e74bb2e7d2ef692a5303bb455fea0667a62d30458d17f95766b12906aa6c2a3c29d584a55dd18426ffc04610be49956a51af'
  }

thank..

ruby on rails Error installing pauldix-feedzirra: ERROR: Failed to build gem native extension

Before
akbarbin@akbarbin-laptop:~/Documents/blog$ sudo gem install pauldix-feedzirra

Resault

Building native extensions.  This could take a while...
ERROR:  Error installing pauldix-feedzirra:
    ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... no
-----
libxslt is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/bin/ruby1.8
    --with-zlib-…

Puisi Semangat Sukses

SEMANGAT SEMANGAT semangat semangat ######SEMANGAT$$$$$$$$  SUKSES dunia dan akhirat
Buatlah mimpimu karena Allah.. Kejarlah Mimpi mu kawan,, Mimpi tetaplah harus di kejar,,
Kita sama sepertimu sukses Aku juga bisa sepertimu sukses Aku butuh sukses dalam diriku,,
SEMANGAT adalah modal untuk mencapai sukses,,,
Hidup ku untuk semangat sukses.. semangat untuk mengejar sukses..

                               1   semangat                               semangat semangat...                   ...semangat

Zainuddin MZ Wafat Tadi pagi

Innalillahhiwainnailaihiwarajiun
Telah meninggal Dai Sejuta Umat KH Zainuddin MZ..


















Dirumah sakit PERTAMINA tadi pagi sekitar jam 09.22 WIB Tanggal 5 Juli 2011

Selamat Jalan Zainuddin MZ, semoga semua amal ibadahnya diterima Allah SWT..
Amien

ruby on rails NoMethodError in User#new

Showing app/views/mahasiswa/new.html.erb where line #3 raised:

undefined method `mahasiswas_path' for #
Extracted source (around line #3):
1: Add Mahasiswa
2: 
3: <% form_for (@mahasiswa) do |f| %> 
4:

5: Nama
6: <%= f.text_field :nama %>
TRY..<% form_for(@mahasiswa)do|f|%>Should be<% form_for(:mahasiswa)do|f|%>good luck