Showing posts with label latest ruby on rails programmer. Show all posts
Showing posts with label latest ruby on rails programmer. Show all posts

Thursday, October 20, 2011

The iPhone Helpers Plugin for Rails 3.x

Picking the name of a new library or plugin is stressful. You could go too informal and call your library something like authgasm (now authlogic) or too formal and call it "Dull Authentication Plugin for Enterprises 1.0." It's the geek equivalent of calling your kid Butterfly or Jane. Fair enough, but what if you just called your daughter Kid or Girl? That's the approach taken by the author of the snappily named rails-iphone-helpers.

Rails-iphone-helpers is a Rails plugin that provides helper methods to produce iPhone-specific (or iOS, more precisely) HTML.

This library solves a simple problem, but few people have the patience or interest in memorizing the underlying code to set viewpoint sizes, scaling options, iOS icons, or iOS splash image settings. With rails-iphone-helpers, it all becomes structured and simple.. what more could you want from a plugin, really?

Source:http://www.railsinside.com

Wednesday, October 12, 2011

The Ruby on Rails API Switches to SDoc

The Ruby on Rails API is switching to SDoc starting with 3.1.
SDoc is a RDoc format created by Володя Колесников (@voloko) that has been powering railsapi.com for a long time.
Among other things, SDoc provides a search box with fuzzy match completion, tree browsing, keyboard navigation, and a really nice template.
You can already see the upgrade in the edge API.


We'd like to thank very much Володя for his work updating SDoc for the official API. Thanks man!

Monday, October 10, 2011

Rails 3.1.1 has been released!

Hi everyone,
Rails 3.1.1 has been released. This release requires at least sass-rails 3.1.4

Changes

ActionMailer
  • No changes
ActionPack
  • stylesheetlinktag('/stylesheets/application') and similar helpers doesn't throw Sprockets::FileOutsidePaths exception anymore [Santiago Pastorino]
  • Ensure defaultassethost_protocol is respected, closes #2980. [José Valim]
    Changing rake db:schema:dump to run :environment as well as :load_config, as running :load_config alone will lead to the dumper being run without including extensions such as those included in foreigner and spatial_adapter.
    This reverses a change made here: https://github.com/rails/rails/commit/5df72a238e9fcb18daf6ab6e6dc9051c9106d7bb#L0L324

For more info http://weblog.rubyonrails.org/


Tuesday, September 13, 2011

Rails 3.1.0 Released

RubyOnRails has announced the release of Rails 3.1.0

On August 31, 2011, Ruby on Rails announced the release of Rails 3.1.0.

Aaron P in his blog thinks Rails 3.1.0 is the best release of Rails to date, and asks everyone to continue to create amazing things with this framework. He has highlighted the major changes in Rails 3.1.0.

ActionPack
  • ActionPack has been updated to include the new asset pipeline. Please see the rails guides on the asset pipeline.
  • Streaming response support has been added. This feature allows you to stream templates to the user before processing has actually finished. See the Rails Guides, or documentation in ActionController::Metal::Streaming for more information. Middleware have been refactored to support this feature.
  • RJS has been extracted to a gem.
ActiveModel
  • attr_accessible and friends now accepts :as as option to specify a role
  • Added ActiveModel::SecurePassword to encapsulate dead-simple password usage with BCrypt encryption and salting.
ActiveRecord
  • Prepared statement caches have been integrated. ActiveRecord::Base#create and simple finders will use a prepared statement and cache for more performant inserts and selects.
  • Associations have been refactored for greater simplicity and maintainability.
  • default_scope can take any object that responds to call.
  • PostgreSQL adapter only supports PostgreSQL version 8.2 and higher.
  • Migrations use instance methods rather than class methods. Rather than defining a self.up method, you should define an instance method up.
  • Migrations are reversible. When a new migration is generated, the migration will contain one method called change. Database changes made in this method will automatically know how to reverse themselves. For more information, see the documentation for ActiveRecord::Migration and ActiveRecord::Migration::CommandRecorder.
  • When a model is generated, add_index is added by default for belongs_to or references columns.
DCKAP Ruby on Rails Consultation
ActiveResource
  • The default format has been changed to JSON for all requests. If you want to continue to use XML you will need to set self.format = :xml in the class.
ActiveSupport
  • ActiveSupport::BufferedLogger set log encoding to BINARY, but still use text mode to output portable newlines.
  • Add Object#in? to test if an object is included in another object.
  • ActiveSupport::Dependencies::ClassCache class has been introduced for holding references to reloadable classes.
  • Added weeks_ago and prev_week to Date/DateTime/Time.
  • JSON decoding now uses the multi_json gem which also vendors a json engine called OkJson. The yaml backend has been removed in favor of OkJson as a default engine for 1.8.x, while the built in 1.9.x json implementation will be used by default.
Railties
  • The default database schema file is written as UTF-8.
  • Rack::Sendfile middleware is used only if x_sendfile_header is present.
  • Add alias r for rails runner.
  • jQuery is the new default JavaScript library.
  • Added config.force_ssl configuration which loads Rack::SSL middleware and force all requests to be under HTTPS protocol

For more info
For a more detailed list of changes, please see each of the CHANGELOG files checked in to the Rails repository on github. For an even more detailed list of changes, please see the commit list between Rails 3.0.10 and 3.1.0.

Thursday, August 25, 2011

Ruby on Rails Up; Mobile, Big Data, User Engagement Define 2011

Ruby on Rails Up 100%; HTML5, Android, iPad/ iPhone Rule the Roost

Aug. 25, 2011

The first annual Technology Outlook Report from agile consulting and IT staffing firm Bluewolf (www.bluewolf.com) identifies top tech trends based on IT staffing/hiring spending patterns for the past 12 months. The report highlights the emergence of mobile, big data, UI and consumerization of IT as the defining trends of 2011 with HTML5, Android Development and iPad/ iPhone, all ranked as top technologies by growth percentage.

According to Bluewolf Co-founder Michael Kirven, companies increasingly see technology and information as competitive differentiators. Kirven believes innovative companies are leveraging the trends identified in this report to become more agile, collaborative and relevant, and to attract and retain the agile workforce of the future.

Based on areas that have seen rapid, year-over-year growth, the report identified the top five tech trends for 2011.
  • Mobile Defined by HTML5, iPhone/ iPad and Android, mobile is remaking entire industries, with the media industry leading the pack.
  • User Engagement Companies increasingly see user engagement as a core value. HTML5, .NET, and Java are allowing UX systems to be applied more broadly to back-end legacy systems and mobile applications.
  • Big Data IT is breaking deep into the data, providing new streams of insights.
  • Consumerization of IT IT pros expect workplaces to reflect consumer innovations, and "many-to-many" interaction is becoming the norm.
  • Cloud Computing The big players are dominated by emerging technologies such as Amazon Web Services (AWS) and Google Apps, as well as more established solutions such as Salesforce.
DCKAP Ruby on Rails Consultation
    Additionally, the report identifies technologies that have seen the most and least overall growth nationally in the following categories:
    • Mobile: HTML5, Android Development and iPhone/ iPad increased by 200+%; Blackberry and Windows Mobile dropped by 50+%.
    • Business Intelligence: Cognos and Informatica increased by 100+%; Crystal Reports and Business Objects remained steady within 25%.
    • ERP: SAP increased by 100+%; JD Edwards remained steady within 25%.
    • CMS: Drupal and TeamSite increased by 100+%; Vignette dropped by 50+%.
    • Operating System: Linux (all) increased by 200+%; Unix (all), Windows and Mac remained steady within 25%.
    • Development Language: PHP and Ruby on Rails increased by 100+%; Python/ Perl dropped by 50+%.
    • Web Front End: UI Design increased by 100+% while Flash, Flex, and ActionScript dropped by 50+%.
    • Database: MySQL and HBase increased by 100+% while DB2 dropped by 50+%.
    • Cloud: Eloqua, Marketo, Salesforce and Google Apps increased by 100+%; AWS increased by 50+%.
    Adapted from Bluewolf Annual Tech Outlook Identifies Top Trends in IT, By Bluewolf, Aug. 22, 2011 - 6:11 am 

    Sunday, July 31, 2011

    Rails 3.1 HackFest

    Have you ever wanted to contribute back to Rails? This is the opportunity you've been looking for. We're organizing a Rails 3.1 Hackfest on the weekend of July 23rd and 24th!!!

    GOAL

    The goal of this event is to have Rails 3.1 as the most stable version as possible. So, in this event we will focus on working on 3-1-stable branch of the project.

    HOW

    In order to achieve this we encourage you to:
    • Upgrade your existing apps to Rails 3.1 and report any existing issue if it doesn't already exist
    • Test your favorite plugins/gems with Rails 3.1 and report any existing issue if it doesn't already exist
    • Review all the open issues and pull requests
      • Check if issues can be reproduced
      • If so provide as many details as possible (for example it's important for us to know which Rails version/s are affected. They could be 2-3-stable, 3-0-stable, 3-1-stable or master)
      • If it's not possible to reproduce the issue, add a comment on github issue tracker indicating that
    • Provide test cases and patches for 3-1-stable blockers only (blockers will be tagged as 'blocker')
      • Follow the contributing to Ruby on Rails guide
      • Try to provide a failing test case (if you can't figure out the whole solution)
      • Try to provide a full patch (tests, code and docs if needed)
    • Write documentation (guides, API), you can push modifications directly to docrails
    • Write blog posts about your experience using 3.1
    Please note that since we are on the release candidate already, only patches for blocking issues will be accepted.

    WHO

    From the core team: Aaron Patterson (tenderlove), Xavier Noria (fxn) and Santiago Pastorino (spastorino), and the core contributors: Damien Mathieu (dmathieu), Prem Sichanugrist (sikachu) and Josh Kalderimis (joshk) will be around, so don't hesitate to ask whatever questions you may have.

    WHEN

    The weekend of July 23rd and 24th, 2011

    WHERE

    On IRC:
    Server: irc.freenode.net Channel: #rails-contrib

    Source: http://weblog.rubyonrails.org

    Wednesday, July 27, 2011

    Rails 3.0.9 has been released!

    Hi everybody!

    Rails 3.0.9 has been released! Since I am at Nordic Ruby, I will deem this Nordic Ruby Edition. ;-)
    The main boogs fixed in this release are problems dealing with modifications of SafeBuffers.
    gem install rails or update your Gemfile and bundle update while it's hot!

    CHANGES


    The major changes in this release of Rails are bug fixes surrounding modifications to SafeBuffer strings. We had places that were modifying SafeBuffers and those places raised exceptions after the security fixes in the 3.0.8 release.

    We've since updated those code paths, and now we have this nice release for you today!
    Please check the CHANGELOG files in each section on github for more details.
    For an exhaustive list of the commits in this release, please see github.

    Source: http://weblog.rubyonrails.org

    Tuesday, July 26, 2011

    Rails 3.1.0.rc4 has been released!

    I've pushed a 3.1.0.rc4. Please test it against your application against this release candidate and report any regressions to the rails core mailing list. I would like to hear your feedback, good or bad. Especially if it's good. 

    In two weeks, if there are no show stopping issues I will release the final version. If we do find regressions, I will publish another release candidate and we'll put another two weeks on the clock.

    However, I will not wait two weeks between release candidates. I want to get the final done as quickly as possible, so I'll try to release RCs as quickly as possible.

    CHANGES

    Here are some of the major changes to the RC branch:
    • escape_javascript safebuffer fixes
    • json_escape safebuffer fixes
    • RDoc / ruby-debug conflict fixes.
    • arel_table is cached unless the table_name changes
    For an exaustive list, please check out the commits on github.

    Source: http://weblog.rubyonrails.org

    Monday, June 13, 2011

    Rails 3.1.0.rc4 has been released!

    I've pushed a 3.1.0.rc4. Please test it against your application against this release candidate and report any regressions to the rails core mailing list. I would like to hear your feedback, good or bad. Especially if it's good.

    In two weeks, if there are no show stopping issues I will release the final version. If we do find regressions, I will publish another release candidate and we'll put another two weeks on the clock.

    However, I will not wait two weeks between release candidates. I want to get the final done as quickly as possible, so I'll try to release RCs as quickly as possible.

    Changes
     Here are some of the major changes to the RC branch:
    • escape_javascript safebuffer fixes
    • json_escape safebuffer fixes
    • RDoc / ruby-debug conflict fixes.
    • arel_table is cached unless the table_name changes
    For an exaustive list, please check out the commits on github.

    Source: http://weblog.rubyonrails.org

    Monday, June 6, 2011

    Ruby 1.9.3 Getting 36% Faster Loading Times

    Xavier Shay is an Australian Rubyist who shares an issue with most of us: slow loading Rails 3 apps on Ruby 1.9.2! Unlike most of us, he put together a solution for ruby-head (what I'm calling 1.9.3 but isn't technically*) that, in my own tests, slashed 37% off the boot time of my Rails 3.0 app. He shared his work just a week ago. Awesome! But some other developments have occurred since..

    * Just because things are in ruby-head doesn't mean they'll definitely make it into Ruby 1.9.3. Pragmatically, though, ruby-head seems to have attracted the 'Ruby 1.9.3' moniker and it makes for a better headline. Just don't get too upset if, for whatever reason, it gets yanked and delayed till Ruby 2.0.. ;-))

    For Free consultation on regarding RoR Installation, RoR Developers, RoR Development, ROR Programmer log on to http://www.dckap.com
    Source:  http://www.railsinside.com

    Friday, June 3, 2011

    Rails 3.0.8.rc3

    Hey everybody! I've pushed Rails 3.0.8.rc3.

    Hopefully this release candidate takes care of all the outstanding issues remaining. To see what has changed between 3.0.8.rc2 and 3.0.8.rc3, check out this link on github. If no regressions are found, I will release the final version 72 hours from now (Thursday, June 2nd around 1pm). Please let us know if this release candidate causes any regressions from the 3.0.7 version.

    I'm still getting over my cold, so I promise that next release I will return to my normal level of excitement! ;-)

    Source: http://weblog.rubyonrails.org

    Monday, May 23, 2011

    Rails 3.0.1 and Rails 2.3.10 Released To Counter Nested Attributes Vulnerability

    Michael Koziarski (a.k.a. nzkoz) has announced the simultaneous release of Rails 3.0.1 and 2.3.10. Don't get too excited - they're only very minor security releases intended to resolve a nasty bug that surfaced in 2.3.9 and 3.0.0. Upgrade if possible but if you're unsure, read on for some pointers.

    The bug in question surrounds nested attributes that are accepted through the accepts_nested_attributes_for method. If you're not using this method, you're probably OK, though I have a big fat disclaimer over that (if you don't upgrade and your app gets fried, don't blame me ;-)).

    If you're using 2.3.9 or 3.0.0 and are truly unable to upgrade at this point but are using nested attributes, Michael has included patches on this post. You might also appreciate the discussion on Hacker News if you want more info and insight.

    For Free consultation on regarding RoR Installation, RoR Developers, RoR Development, ROR Programmer log on to http://www.dckap.com
    Source:  http://www.railsinside.com

    Friday, May 20, 2011

    iPhone Helpers Plugin for Rails 3.x

    Picking the name of a new library or plugin is stressful. You could go too informal and call your library something like authgasm (now authlogic) or too formal and call it "Dull Authentication Plugin for Enterprises 1.0." It's the geek equivalent of calling your kid Butterfly or Jane. Fair enough, but what if you just called your daughter Kid or Girl? That's the approach taken by the author of the snappily named rails-iphone-helpers.

    Rails-iphone-helpers is a Rails plugin that provides helper methods to produce iPhone-specific (or iOS, more precisely) HTML.

    This library solves a simple problem, but few people have the patience or interest in memorizing the underlying code to set viewpoint sizes, scaling options, iOS icons, or iOS splash image settings. With rails-iphone-helpers, it all becomes structured and simple.. what more could you want from a plugin, really?

    For Free consultation on regarding RoR Installation, RoR Developers, RoR Development, ROR Programmer log on to http://www.dckap.com
    Source:  http://www.railsinside.com

    Wednesday, May 18, 2011

    Agile Web Development with Rails, 4th Edition

    Rails 3 is a major release—the changes aren’t just incremental, but structural. So we decided to follow suit. This book isn’t just a mild reworking of the previous edition to make it run with the new Rails. Instead, it’s a complete refactoring.
     
    You’ll still find the Depot example at the front, but you’ll also find testing knitted right in. Gone are the long reference chapters—that’s what the web does best. Instead you’ll find more targeted information on all the aspects of Rails that you’ll need to be a successful Web developer.

    Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly. You concentrate on creating the application, and Rails takes care of the details.

    Tens of thousands of developers have used this award-winning book to learn Rails. It’s a broad, far-reaching tutorial and reference that’s recommended by the Rails core team. If you’re new to Rails, you’ll get step-by-step guidance. If you’re an experienced developer, this book will give you the comprehensive, insider information you need.

    For Free consultation on regarding RoR Installation, RoR Developers, RoR Development, ROR Programmer log on to http://www.dckap.com
    Source: http://pragprog.com/news/agile-web-development-with-rails-4th-ed-now-in-print

    Monday, May 9, 2011

    Rails 3.1 beta 1 released

    Ruby On Rails have the first release step towards the final version of Rails 3.1 today with the unveiling of beta 1. This is a release mostly for people who’ve already been following along with the development of Rails 3.1 and want to try a version that’s close to feature complete.

    We do not yet have all the documentation ready, so it’s still a bit of a detective job to figure out how it all fits together. Thus, this is not a general release and I wont hold it against you if you’re holding out for a release candidate (coming in the next few weeks).

    The tag is 3.1.0.beta1 and you can install using gem install rails --pre. Enjoy!

    Source: http://weblog.rubyonrails.org

    Friday, April 22, 2011

    Rails 3.0.7 has been released !!!

    Hello everyone! I've released Rails version 3.0.7!
    I want to say thanks to Santiago for handling the release candidate gems. He's on vacation, so I get to do the real thing.
    The main change in this release is to fix a performance regression in ActiveRecord that was introduced in version 3.0.6.

    Changes

    For a web friendly view, check out the compare view on github.
    For those that want the TL;DR of the commits, here are the pertinant CHANGELOG entries for each project:

    activesupport

    • Hash.from_xml no longer loses attributes on tags containing only whitespace [André Arko]

    activerecord

    • Destroying records via nested attributes works independent of reject_if LH #6006 [Durran Jordan]
    • Delegate any? and many? to Model.scoped for consistency [Andrew White]
    • Quote the ORDER BY clause in batched finds - fixes #6620 [Andrew White]
    • Change exists? so records are not instantiated - fixes #6127. This prevents after_find and after_initialize callbacks being triggered when checking for record existence. [Andrew White]
    • Fix performance bug with attribute accessors which only occurred on Ruby 1.8.7, and ensure we cache type-casted values when the column returned from the db contains non-standard chars. [Jon Leighton]
    • Fix a performance regression introduced here 86acbf1cc050c8fa8c74a10c735e467fb6fd7df8 related to read_attribute method [Stian Grytøyr]

    actionmailer

    • remove AM delegating register_observer and register_interceptor to Mail [Josh Kalderimis]
    Source: http://weblog.rubyonrails.org

    Thursday, April 14, 2011

    Ruby Hero Awards 2011


    It’s that time again to take a moment to think about those who have impacted the Ruby community this year but have not received the recognition they deserve. We have given away eighteen awards in the past three years at Railsconf, and this year we are preparing to give away six more.

    But we need your help.


    So, if you know someone who has contributed greatly this year please take a moment to show some gratitude by nominating them on RubyHeroes.com. In two weeks the Ruby Heroes from last year will look at the nominations and decide who should receive the awards (this way there’s no popularity contest). However, your nominations do matter, so please take a moment and spread the gratitude.
    The winners will be announced live on stage at Railsconf 2011.

    Source: http://weblog.rubyonrails.org

    Thursday, April 7, 2011

    Rails 3.0.6 has been released!

    Hi everybody! Rails 3.0.6 has been released!
    Let's get the serious business out of the way first:

    Rails 3.0.6 contains an important security fix! Please upgrade!

    Rails versions 3.0.x prior to 3.0.6 contain an XSS vulnerability. The vulnerability manifests itself via the auto_link method. The auto_link method will automatically mark input strings as "html safe" even if the input is from an unknown origin.
    For example:
    <%= auto_link(params[:content]) %>
    If the "content" parameter contains malicious javascript, that script will be rendered without being escaped.

    How can I protect myself?

    • Upgrade to Rails 3.0.6, then content passed to auto_link will be automatically escaped for you.
    • If you cannot upgrade Rails, then apply the patch found here. Then auto_link content will be escaped for you.
    • If you cannot upgrade Rails, or apply the patch, then change your calls to auto_link to call sanitize like so:
      <%= sanitize(auto_link(params[:content])) %>
      If you trust the input, then change to this
      <%= raw(auto_link(params[:content])) %>

    Credits

    Thanks go to Torben Schulz for reporting this issue!

    Wednesday, March 30, 2011

    MacRuby 0.10 released by MacRuby

    MacRuby announced release of MacRuby 0.10 on 23rd March 30, 2011, just a few weeks after the earlier release Mac Ruby 0.9!

    There are several bug fixes, support for MacBook Pro hardware and Xcode 4 integration, which is the new version of IDE (Integrated Development Environment) to develop applications for Mac, IPhone and iPad.

    Also, there are bug fixes in macruby_deploy for App Store submissions and several stability fixes.

    Here are the release notes for 0.10 http://lists.macosforge.org/pipermail/macruby-devel/2011-March/007390.html

    MacRuby 0.10 can be downloaded from this link http://www.macruby.org/files/MacRuby%200.10.zip

    Note – MacRuby 0.10 works only on Intel 64-bit machines running Snow Leopard (10.6) or later.

    Wednesday, March 23, 2011

    JRuby 1.6 Released: Ruby 1.9.2 Support and More

    It's a newsflash! JRuby 1.6.0 has been released today. Congratulations to the JRuby team. 1.6 is a significant and much awaited release and comes after a 9 month push of over 2500 commits.

    Hit up the official release post for the full run-through but here are some of the highlights of the release:
    • Windows has been added to the JRuby team's continuous integration system meaning that Windows support is only going to get better
    • Ruby 1.9.2 language and API support (with the exception of Encoding::Converter and ripper)
    • Built in profiler
    • General performance improvements
    • Experimental support for C extensions (with provisos)
    • RSpec is no longer included (worth mentioning in case it catches you out..)
    You can download binary and source releases direct from JRuby.org if you want to get up to date or update RVM with rvm get head and rvm reload before running rvm install jruby-1.6.0 :-)
    Fingers crossed for some great JRuby tutorials and guides coming along in the next couple of months.

    Source: http://www.rubyinside.com