Articles

Ruby on Rails'e başlarken

Ruby on Rails'e başlarken

* İlk Adımlar
* Ruby Dili ve Rails İskeletine Genel Bakış
* Ruby on Rails'in Temel İlkeleri

* Kurulum
* İlk Uygulama
* Rails Sürümünü Yükseltme
* Rails ve Ruby Gem'ini Güncelleştirme
* Bir Uygulamayı Yeni Rails Sürümüne Yükseltme

AJAX Pagination in rails

Pagination is a very common feature of web application development. Sometimes we need pagination with ajax.
I found lot of blogs and discussion on this but none of them provide better and easy way solution.
Finally I found one of easy solution based on will_paginate gem. For this you have apply below patch in will_paginate/lib/view_helper.rb file

def page_link_or_span(page, [...]

Double Shot #476

It always feels good to actually *deploy* code.

Sorting with Ruby, RubyInline, and Thrust

Corey sez "I decided to see what sort of speed-up I could get just doing a straight brute-force sort. First, I wanted a pure Ruby implementation. Next, I wanted a RubyInline version. Finally, I wanted to use RubyInline with Thrust. Here is the code I used."

The numbers? Bad ASS!

(Thrust is a C++ library that uses the GPU for parallel operations.)

Join Us at Windy City Rails 2009

I’m glad to announce that I’ll be conducting the morning tutorial session at the upcoming Windy City Rails Conference.

It’s a 3-hour tutorial called REST 101: Best Practices for Rails Developers.

Hosting Python on GitHub?

If so, dinoboff has you covered! github-tools includes a “PasteScript template, Paver tasks and Sphinx extension to setup a new package and easily host it on GitHub (including its documentation)”.

Get it from pypi

Selling my old MacBook Pro

A few days ago I placed my old MacBook Pro up for auction on Ebay, with a starting price of $200 and no reserve. While the auction has generated interest, so far there has been only one bidder. The auction ends in a little over two days. If you are interested, please read the description carefully and then bid with confidence.

Non-shared learning is pointless

Looking at data by yourself is a waste of time. This is because actual customers tend to act in ways counterintuitive to what your team expects.

If everyone expects feature X to be a hit, but you find that nobody uses it, nobody is going to believe you unless you constantly share your data with everyone else.

Here are three ways to do this:

Separated at Birth: Respect!

Well, I may like to dabble in the occasional Separated at Birth series, but Totally Looks Like has some particularly incredible juxtapositions:

gem to quickly test your javascript: javascript_lab

Personally I am liking jQuery over Prototype but there are many projects which use Prototype and I keep juggling between the two javascript libraries. I needed a tool to quickly test my javascript code without worrying about including the right version.

I ended up creating this gem calld javascript_lab.

Ruby-hpricot –>Firefox bookmark url’s from bookmark.html file | Rails Fire

Ruby-hpricot –>Firefox bookmark url’s from bookmark.html file

jazzez-FFbookmark-urls.exe

1. Download “jazzez-FFbookmark-urls.exe” from — http://bit.ly/j_ffb

2.Export bookmarks.html from firefox browser

For Example,

a. click “Bookmarks” tab in FF browser

b. Click “Organize Bookmarks “

c. Click “Import and backup” tab

d. Click “Export HTML”

e. Save the file in same path where “jazzez-FFbookmark-urls.exe” is placed

3.  Run the exe

4. check the output file “bookmarks.txt” file.