Our Publications
About Us
Josh Software
Our passion is Ruby On Rails! We are an Indian company who believes that programming is an art.Our portfolio! -- Contact Us
Categories
- Case Studies (1)
- CMS (9)
- Radiant (9)
- General (24)
- Javascript (5)
- Mobile Development (1)
- Sencha (1)
- MongoDB (2)
- Ruby (45)
- Ruby on Rails (117)
- Conferences (14)
- Search (8)
- Tutorials (12)
Authors
Monthly Archives: November 2010
authlogic custom conditions for authentication
>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_methodend Then we need to define overridden method inside User model class User < ActiveRecord::Base acts_as_authentic … Continue reading
Paperclip: validates_attachment_content_type always fails in IE 6 and 7 for jepg and png image
If you are using paperclip plugin for uploading images in your rails application and you are validating image format. Image format validation working in Firefox, safari but not in IE, even you are uploading image in correct format in IE … Continue reading
