Next Page      Total 2 Pages,On 1Page,Hits:17.

I am Back.

I just committed changes for mephisto_xmlrpc plugin to be able to work with latest mephisto 0.8.2. to installl this plugin

./script/plugin install http://svn.railshacks.com/projects/mephisto/plugins/mephisto_xmlrpc

follow README for further installation instructions, feel free to post any bugs or suggestions here

Read the rest of this entry

Web2py is python framework similar to Rails, but has many other features like support for App engine, Multiple Sites, built support for multi database development, Internationalization etc .

But the feature which like most about web2py is its support for Google App engine(obviously with limitations). But it is worth considering if you are looking to deploy on Google App Engine.

Read the rest of this entry
Hello Google App Engine I have ported this blog to Google App engine from Ruby on Rails mephisto app. This Blog is written using Django.
Read the rest of this entry

Redmine has emerge as a new king of RoR IDE world, More and more RoR developers are shifting to Rubymine.

Read the rest of this entry

Run your Ruby on Rails app on Google app engine .

Yeah its possible to run RoR base application on GAE/J Thanks to jruby .

Limitations :

NO activerecord 10000 files maximum 10 MB max file size Steps

you should have jruby already jruby 1.3 =< installed


1: Install rails , warbler and appengine-apis

Jruby -S gem install rails warbler appengine-apis 2: checkout template rails app with datamapper

git clone git://github.com/dkubb/datamapper-on-rails.git

3: comment out the following lines in config/environment.rb

config.gem ‘rails’ config.gem ‘appengine-apis’

4: change to you app dir

5: pluginize your app

jruby -S warble pluginize

6: generate configs

jruby -S warble config

7: edit config/warble.rb

config.webxml.jruby.min.runtimes = 1 config.webxml.jruby.max.runtimes = 1 config.webxml.jruby.init.serial = true config.java_libs = []

8: generate war

jruby -S warble

Read the rest of this entry

If you are looking for heavy duty Rails template , Big Old Rails Template is right choice for you , this template Include many plugins and gems.

Read the rest of this entry

module Spec
  module Rails
    module Matchers

      # check if the xpath exists one or more times
      class HaveXpathText
        def initialize(xpath,text)
          @xpath = xpath
          @text = text
          @text_returned = "" 
        end

        def matches?(response)
          @response = response
          doc = response.is_a?(Hpricot::Doc) ? response : Hpricot::XML(@response)
          begin

            @text_returned= (doc/@xpath).inner_text.strip
            if  @text_returned == @text.to_s
              true
            else
              false
            end
          rescue
            return  false
          end
        end

        def failure_message
          #          "Did not match expected xpath  #{@xpath} text #{@text}" 
          "Did not match expected xpath  #{@xpath} text #{@text_returned} with #{@text}" 
        end

        def negative_failure_message
          "Did find unexpected xpath  #{@xpath} text #{@text}" 
        end

        def description
          "match the xpath expression text #{@xpath}" 
        end
      end

      def have_xpath_text(xpath,text)
        HaveXpathText.new(xpath,text)
      end
  end
end
Read the rest of this entry
I was trying to introduce roles framework to my application.I was looking for a solution which roles,rights and privilege for every action.

download this plugin at http://github.com/stffn/declarative_authorization/tree/master

I found this plugin as a life saver in my project.
Read the rest of this entry

Rspec

Ruby Behavior driven development is Rpec. We will explore how to write specs with rspecs .
we will not use yml fixture . yml fixtures sucks instead we use machinist and will use mocha as mocking framework I assume you are on Mac or Linux . First install rspec sudo gem install rspec then install rpsec-rails sudo gem install rspec-rails rails my_app cd my_app ruby script/generate rspec cd spec spec folder is home folder for all of you spec data for you app
Read the rest of this entry
Top delete .pyc file (python compile files) from subversion on MAC OS follow these steps

1: Create a .svnignore file in your project's root with following contents

*.pyc
*~
now run find . -name "*.pyc" -exec svn revert {} \; then find . -name "*.pyc" -exec svn delete {} \; DONE
Read the rest of this entry

So here is Mephisto xmlrpc plugin for Mephisto release 0.8 and for Mephisto Edge.

I  have ported original Mephisto_xmlrpc plugin to work with Mephisto 0.8 and Mephisto edge.
The Original plugin was not compatible with most of the Desktop blogging tool if you use metaweblog api.
 this plugin working with almost all popular blogging tools like ecto, marsedit, blogtk, gnome-blog etc.
 , even with google reader.

checkout Mephisto xmlrpc plugin from subversion, this is available two flavors .

for Mephisto release 0.8

script/plugin install http://svn.railshacks.com/projects/mephisto/plugins/mephisto_xmlrpc_0.8

for Mephisto edge

script/plugin install http://svn.railshacks.com/projects/mephisto/plugins/mephisto_xmlrpc_edge

To install Mephisto xmlrpc plugin

follow these steps

1:  edit file app/controllers/application/error.rb
locate these lines 
rescue_from ActiveRecord::RecordNotFound,        :with => :render_admin_not_found
rescue_from ActionController::UnknownController, :with => :render_admin_not_found
rescue_from ActionController::UnknownAction,     :with => :render_admin_not_found
change these lines to
rescue_from ::ActiveRecord::RecordNotFound,        :with => :render_admin_not_found
rescue_from ::ActionController::UnknownController, :with => :render_admin_not_found
rescue_from ::ActionController::UnknownAction,     :with => :render_admin_not_found
save the file .
2:  checkout action web service from svn repo. into vendor/rails folder.     
svn co    http://svn.rubyonrails.org/rails/ousted/actionwebservice/
3.  restart your server 
Now you have working xmlrpc service at your server .
if you face any problem  installing/using this plugin feel free to ask .
Read the rest of this entry
I am available to hire . You can send me notes on jeet dot ajay at gmail dot com
Read the rest of this entry
Ruby On rails Outsourcing In India.
More companies are now available to work on Ruby On Rails.
I Believe Ruby on Rails is technology if not used properly ,It will be a mess
Read the rest of this entry


Mephisto has always been my favourite rails publishing system , few days back I switched to mephisto edge,
 later i found most of mephisto plugins are broken on mephisto edge because mephisto edge is using rails engine system ,

So I ported Stephen Caudill's existing mephisto sitemap plugin on mephisto edge and now its available 
at http://svn.railshacks.com/projects/mephisto/plugins/mephisto_sitemap/

Currently I am looking at other plugins that is not compatible with mephisto edge 
, As soon as i complete I will make it available for public download

if you face any problem please make a comment here
Read the rest of this entry

Mephisto
Typo
Rubricks
Radiant
Railfrog
Read the rest of this entry