The Enterprise is evolving: economic crisis, a new generation of developers, new management, insane deadlines. Ruby and Rails have quickly become very attractive for the Enterprise and having big companies acting as startups is often something a lot of managers dream of. As a matter o...
Desde o dia 15 de julho decidi que já tinha passado da hora de mudar um pouco meu blog. Sinceramente faz tanto tempo que coloquei o tema anterior que nem me lembro mais quando foi. Historicamente, entre 2006 e 2008, se não me engano, eu usei os sistemas de blog Typo3 e Mephisto. Depoi...
A number of Haikus have already been added to our application and we’d like users to be able to vote for them by either voting them up or down. Our application has no voting system in place yet so how can we add this feature? We could write this from scratch but instead we’ll use a ge...
December 19, 2008 Tagged: rails Rails ruby Ruby tips vim Comments (View) thoughtbot is filled with vim and vigor Slowly over the past year thoughtbot has turned from an all-TextMate (and one Emacs) group into a mostly-vim group. Here are some tips, tricks, and scripts we’ve mastered a...
quando se tem muitos assets, como javascripts, é considerado boa prática “minificá-los”, ou seja, otimizar ao máximo a quantidade de bytes eliminando supérfluos como espaços em branco e quebras de linha, nomes de variáveis e funções longas, etc. E além disso concatenar a maior quantid...
A small extension for SASS that generates images from icon fonts
grayphash 0.0.4.2 pHash image wrapper install gem install grayphash Download Documentation Subscribe Stats Authors Tauraloke 44 total downloads 3 for this version Owners Links Homepage Gemfile gem "grayphash", "~> 0.0.4.2" Versions 0.0.4.2 July 22, 2012 0.0.4.1 July 22, 2012 0.0.4 Jul...
When reading about a new framework, I often find that the best way to get familiar is to read a brief tutorial on how to develop a simple application. This can quickly give new users a sense of the development flow and processes involved in using a framework. This guide will show new ...
> File.dirname(__FILE__) will give you the current file's path. The current file may be accessed with a relative path. If you need the absolute path, make sure you expand it: File.expand_path(File.dirname(__FILE__)) > Also, if I have a module, within a function, how do I get the paren...
Legalise Love: LGBT Rights Are Human Rights , global Google campaign. Herzlich willkommen Tätervolk! , Felix Nicklas berichtet vom 10. Rock für Deutschland, dem größten Neonazi-Festival Deutschlands. A day in the life of John Wiegley , transcript of an interview about Emacs by Sacha C...
Essa é completamente fora do escopo deste artigo, mas como meu código no Github está utilizando, vou apenas listar como instalei. Para quem não conhece, o Twitter Bootstrap é um conjunto de stylesheets e javascripts para estilizar rapidamente seu site, justamente para casos como este,...
Rack comes with many helpful utilities such as request and response objects, various middleware, and MockRequest for testing. Here I cover all of these while building a Rack app from scratch.
As a result, bundler comes with a --deployment flag that encapsulates the best practices for using bundler in a deployment environment. These practices are based on significant feedback we have received during the development of bundler, as well as a number of bug reports that mostly ...
This version has been tested with redmine branches 1.3 and 1.4 as far as with MySQL and PostgresSQL RDBMS. Clone repository into vendor/plugins: $ cd <your redmine root directory> $ git clone git://github.com/k41n/redmine_milestones.git vendor/plugin/redmine_milestones Run migrations ...
Over the years I have seen some confusion about what is exactly docrails and how it relates to the documentation of Ruby on Rails. This post explains everything you want to know about this aspect of the project. What is docrails? docrails is a branch of Ruby on Rails with public write...
Brakemanはこのエラーが問題である確度は弱いと言っているので、もしかしたらこれは問題ではないかも知れませんが、常に念のために調査するようにするのがいいでしょう。Redirectの警告についてのドキュメント にこのタイプの脆弱性についての詳細情報があります。ユーザから渡されたパラメータに基づいてリダイレクトを行なうと、フィッシング攻撃の標的になってしまいます。我々のサイトにそっくりな悪意のあるサイトが作られて、そのサイトの持ち主がこの脆弱性を利用して我々のサイトから彼らのサイトにリダイレクトさせることが可能です。誰かが我々のアプリケーションにログインした後に悪...
Library for calculating subtotals, percentages, tables and graphs from collections of Ruby objects
http_spec 0.0.1 RSpec DSL for describing API behaviors install gem install http_spec Download Documentation Subscribe Stats Authors Sam Goldman 9 total downloads 9 for this version Owners Links Homepage Gemfile gem "http_spec", "~> 0.0.1" Versions 0.0.1 July 22, 2012
javaparse 0.0.4 Get info from Java files with Ruby install gem install javaparse Download Documentation Subscribe Stats Authors Simon Caplette 17 total downloads 5 for this version Owners Gemfile gem "javaparse", "~> 0.0.4" Versions 0.0.4 July 22, 2012 0.0.3 July 22, 2012 0.0.2 July 2...
Relaxo Query Server provides support for executing CouchDB functions using Ruby.
Provides a C-optimized method for in-place XORing of two (or three) strings
jdbc-openedge-internal 11.1.0.0-java Used by jdbc-openedge gem internally install gem install jdbc-openedge-internal Download Documentation Subscribe Stats Authors Abe Voelker 8 total downloads 3 for this version Owners Links Homepage Gemfile gem "jdbc-openedge-internal", "~> 11.1.0.0...
reflectiverecord 0.1.1 Smarter ActiveRecord models install gem install reflectiverecord Download Documentation Subscribe Stats Authors David Link 8 total downloads 4 for this version Owners Links Homepage Gemfile gem "reflectiverecord", "~> 0.1.1" Versions 0.1.1 July 22, 2012 0.1.0 Ju...
OAuth2 client library for RubyMotion apps, you need APIs right?
couchbase_model_logging 0.0.3 ditto install gem install couchbase_model_logging Download Documentation Subscribe Stats Authors Adrian Madrid 16 total downloads 6 for this version Owners Links Homepage Gemfile gem "couchbase_model_logging", "~> 0.0.3" Versions 0.0.3 July 22, 2012 0.0.2...
tiny_spider 0.0.1 Description of TinySpider. install gem install tiny_spider Download Documentation Subscribe Stats Authors happy 8 total downloads 8 for this version Owners Links Homepage Gemfile gem "tiny_spider", "~> 0.0.1" Versions 0.0.1 July 22, 2012 Runtime Dependencies rails ~>...