Josh Software

sandipransing

cloud migration service providers

Multiple sites hosting using radiant cms – Josh Software

Multiple sites hosting using radiant cms – Josh Software There are almost 4 to 5 simple steps you need to followed before getting multiple sites working using radiant cms 1. Setup radiant cms first Install radiant gem sudo gem install radiant set ‘radiant’ under path export PATH=$PATH:/var/lib/gems/1.8/gems/radiant-0.8.0/bin Now, we have done with radiant installation. Let’s …

Multiple sites hosting using radiant cms – Josh Software Read More »

josh ruby

Rails 3: Dashing to the Finish

Rails 3: Dashing to the Finish >Check out this SlideShare Presentation: Rails 3: Dashing to the Finishhttp://static.slidesharecdn.com/swf/ssplayer2.swf?doc=dashingtothefinish-100601025536-phpapp01&stripped_title=rails-3-dashing-to-the-finish&userName=wycatsView more presentations from Yehuda Katz.

josh ruby

authlogic custom conditions for authentication – Josh Software

authlogic custom conditions for authentication – Josh Software >To Add custom conditions to authlogic finders first of all we need to override authlogic find_by_login method. class UserSession < Authlogic::Session::Base   after_validation :check_if_verified   find_by_login_method :find_by_login_and_deleted_method end Then we need to define overridden method inside User model class User < ActiveRecord::Base   acts_as_authentic   def self.find_by_login_and_deleted_method(login) …

authlogic custom conditions for authentication – Josh Software Read More »

cloud operation process

Understanding and creating radinat extensions – Josh Software

Understanding and creating radinat extensions – Josh Software Understanding and creating radinat extensionsTo start with, first of all lets know what is radiant and why to use it ?Radiant is a open source content management system designed that serves cms needs forsmall organisationsCreating new radint application radiant -d mysql cms create create CHANGELOG create CONTRIBUTORS …

Understanding and creating radinat extensions – Josh Software Read More »

josh ruby

Overriding to_s method for BigDecimal instance – Josh Software

Overriding to_s method for BigDecimal instance – Josh Software requirement was to display decimal numbers which are having scale values present to be displayed in decimal format otherwise display them as integer. Output expected 12.23 => 12.23 12.00 => 12 While rendering any object on html page by default “to_s” method gets executed.So, i overwrote …

Overriding to_s method for BigDecimal instance – Josh Software Read More »