Skip to main content

Useful Links for rspec and cucumber and jquery and css and facebook app integration for Ruby on Rails..

Some important links for rspec and cucumber and jquery and css and facebook app integration for Ruby on Rails######################
###########facebook links
http://www.spritle.com/blogs/2012/02/08/facebook-canvas-app-using-ruby-on-rails/
https://developers.facebook.com/apps/209871355801368/summary?save=1
http://stephan.com/blog/really-easy-facebook-like-for-rails
https://campus.tcs.com/campus/
#####cucumber testing.........
http://blog.spritecloud.com/category/cucumber/
http://www.packtpub.com/article/facebook-application-development-ruby-on-rails
http://blog.aentos.com/post/1114672143/testing-ajax-autocomplete-fields-with-cucumber-and
http://asciicasts.com/episodes/186-pickle-with-cucumber
http://rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Actions#click_button-instance_method
https://github.com/cucumber/cucumber/wiki/Cucumber-Backgrounder
https://github.com/jnicklas/capybara/
http://stackoverflow.com/questions/5794820/easy-way-to-test-nested-model-forms-with-cucumber
http://www.allenwei.cn/cucumber-capybara-what-we-need-for-rails-integration-test/
http://www.themomorohoax.com/2009/04/22/8-tips-for-testing-rails-apps-with-cucumber
http://ridingrails.net/rails-3-cucumber-started-outside-in-testing/
http://tinobox.com/wordpress/coding/rails-3-cucumber-started-outsidein-testing/
http://blog.joshsoftware.com/2011/07/26/testing-social-networks-using-capybara-cucumber-rails-selenium/
http://jquerytools.org/
http://apycom.com/# used for layouts
# unit testing
http://blog.jayfields.com/2006/12/rails-unit-testing-activerecord.html
#jquery link#######
########
###############
http://webdesignledger.com/tips/9-jquery-mistakes-you-shouldnt-commit
http://viralpatel.net/blogs/20-top-jquery-tips-tricks-for-jquery-programmers/
http://blog.pixelcrayons.com/web-design/some-important-jquery-tips-and-tutorials-for-web-designers/
http://tutorialzine.com/2011/06/15-powerful-jquery-tips-and-tricks-for-developers/
http://docs.jquery.com/Tutorials:5_Quick_jQuery_Tips
http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx
http://www.htmlgoodies.com/beyond/javascript/top-10-jquery-tips-and-tricks.html
http://www.problogdesign.com/coding/30-pro-jquery-tips-tricks-and-strategies/
http://blog.hashrocket.com/posts/jquery-tips-adding-filter-expressions
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> # we are using jquery it is faster
http://hscripts.com/tutorials/jquery/selecting-elements.html
http://ridingrails.net/social-media-buttons-rails-applications/
https://www.addthis.com/get/sharing#
http://programifications.com/sunspot-solr-on-rails-3
http://www.echoecho.com/javascript3.htm ######for javascript
http://www.htmldog.com/guides/cssbeginner/text/ ################cssssssssssssss
http://www.w3.org/TR/REC-CSS1/ ################cssssssssssssss
###########################
http://westciv.com/style_master/academy/hands_on_tutorial/09.laying_out.html
########javascript
http://www.quackit.com/javascript/tutorial/javascript_html.cfm
http://www.cs.brown.edu/courses/bridge/1998/res/javascript/javascript-tutorial.html#1
http://www.freewebmasterhelp.com/tutorials/javascript/
http://sureshruby.blogspot.in/
######installation of ruby on rails and rvm
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
http://old.thoughtsincomputation.com/posts/coding-gems-for-rails-3-part-1
http://pivotal.github.com/jasmine/
http://www.buzzle.com/articles/trick-questions-and-answers.html

Comments

  1. very informative blog and useful article thank you for sharing with us , keep posting Ruby on Rails Online Course

    ReplyDelete

Post a Comment

Popular posts from this blog

Gem::LoadError (Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).?

Gem::LoadError (Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).) In rails?


1)change the gemfile in mysql version
 gem 'mysql2'

2)Change to mysql2 version
 gem 'mysql2','0.3.20'

Active Scaffold : Add radio buttons to your form ruby on rails ?

Active Scaffold : Add radio buttons to your form ruby on rails ?

The way to add radio buttons to your active scaffold create/update from is as shown below

#Controller

class UsersController < ApplicationController
active_scaffold :user do |config|
config.label = “Users”
config.columns = [:name, :gender]
config.columns[:gender].form_ui = :radio
config.columns[:gender].options[:options] = [['Male', '1'], ['Female','2']]
end
end

Get user accessing ip address in rails?

Get user accessing ip address rails?

request.ip ->returns the ip, whether is is a local proxy ip (localhost address) or not.
*request.remote_ip -> is smarter and gets the ip address of the client outside of local proxies.
3)If you are using apache in front of a mongrel, then remote_ip will return the source address of the request, which in this case will be local host because the Apache web server is making the request, so instead put this in your controller:

@remote_ip = request.env["HTTP_X_FORWARDED_FOR"]