Redmine 2.0.0 drops Rails 2.3 (which is no longer maintained by the Rails team) in favour of the latest Rails 3 release, and it's now available for download at Rubyforge . New features will come with the next 2.1.0 release. Efforts have been made to ease the upgrade of existing Redmin...
Redmine 1.4.2 is a maintenance release that fixes 8 defects, including a compatibility issue with the latest ruby1.9.3 release (patch level 194), several improvements and translations updates. You can review the changes in the Changelog and download this new release at Rubyforge . Red...
Pivotal's open sourcing policy is straightforward and simple to execute; We don't touch it. We write code for our clients, it's their code to do with as they please. My particular client liked the work we did for them and thought it would make a great open source gem. The Director of ...
All Presentation Software is Broken Posted by igrigorik on May 14, 2012 — 0 comments A look at the numbers behind RailsConf presentation on "Making the Web Faster", and the web as a (future) presentation delivery platform . Comments Post a Comment Comment abilities for non registe...
Monday, May 14, 2012 at 5:03AM Oh look, it's Monday again. RubyMotion Weekly - New email newsletter to bring you all things RubyMotion. Android Query - UI and asynchronous library for Android coding inspired by jQuery. MOBtvse - Rails- and Markdown-based blogging platform. Libskypekit...
As usual, I'm only pulling out the things that look most interesting to developers using Rails; there's a great deal of work still happening on Rails 4.0 internals. This work is valuable and necessary, but it's the part of the iceberg that remains underwater for most Rails users. Some...
FigLeaf gem now available Posted by avdi on May 14, 2012 — 0 comments The FigLeaf library from my book "Objects on Rails" is now available as a RubyGem. FigLeaf helps you control the interface surface area of classes derived from e.g. ActiveRecord, by selectively hiding inherited meth...
Pivotal's open sourcing policy is straightforward and simple to execute; We don't touch it. We write code for our clients, it's their code to do with as they please. My particular client liked the work we did for them and thought it would make a great open source gem. The Director of ...
Ruby supports multiline strings by providing two types of here doc syntax. The first syntax uses and additional dash, but allows you to indent the "end of here doc" delimiter ('eos' in the example). <<-eos Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title><%= h(yield(:title) || "Untitled") %></title> <%= stylesheet_link_tag "/jqtouch/jqtouch.min.css", "/jqtouch/themes/apple/theme.min.css" %> <%= javascript_...
May 13, 2012 Tagged: naming Comments (View) Beware Homonymatic Complexity When you name a class, choose a name that’s unlikely to refer more than one thing. For example, Visitor is a bad name for a class that represents unregistered users. The issue is that Visitor is the name of a we...
JavaScript Not Detected TryRuby requires JavaScript to be enabled (it's an editor thing).
A set of Ruby on Rails view helpers to be used with Twitter Bootstrap
Nokogiri builder can be used for building XML and HTML documents. Synopsis: builder = Nokogiri::XML::Builder.new do |xml| xml.root { xml.products { xml.widget { xml.id_ "10" xml.name "Awesome widget" } } } end puts builder.to_xml Will output: <?xml version="1.0"?> <root> <products> <w...
The entire attack vector neatly fits into a tweet, and could easily get even smaller if space was as a bigger premium. If the user viewing this content is an admin user, the attacker just got the ability to masquerade as that admin user. This means that even content that will only app...
Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's many features is the ability to search documents via XPath or CSS3 selectors. XML is like violence - if it doesn’t solve your problems, you are not using enough of it.
on YouTube where, presumably, Google gets technological luminaries to come in and give a talk about their work. The latest is by Ruby's creator, Yukihiro "Matz" Matsumoto, and was given just a few days ago on February 20, 2008. In the video, Matz quips at Google's reticence to use Rub...
PHP est très répandu pour les applications web, mais si vous avez découvert Ruby on Rails ou souhaiter aborder un langage plus généraliste, Ruby vaut certainement le coup d’œil. Similarités Tout comme en PHP , en Ruby… le typage est dynamique : pas besoin de déclarer les variables ; i...
In Ruby, we rely less on the type (or class) of an object and more on its capabilities. Hence, Duck Typing means an object type is defined by what it can do, not by what it is. Duck Typing refers to the tendency of Ruby to be less concerned with the class of an object and more concern...
I feel like the argument against what gemcutter’s doing is pretty similar to the argument against git. Why would you want people to be able to easily fork a project, if you let them do that then how is anyone ever going to know where the real true source lives? Lots of logic to that, ...
以下のようなメーリングリストで情報交換や議論が行われています。 参加希望の方は『(ML名)[email protected]』(例えばruby-list MLに参加する場合は[email protected])宛に、本文に subscribe YourFirstName YourFamilyName と書いて送って下さい。 YourFirstNameの部分はあなたの名前で、YourFamilyNameの部分はあなたの姓で、それぞれローマ字表記したもの(半角のアルファベット)で置き換えてください。 Subject(件名)は、空のままでかまいませ...