install ruby on rails on windows 10 go to https://nodejs.org/en/ and download LTS (long time support) nodejs and install ithttps://classic.yarnpkg.com/en/docs/install#windows-stable – install yarn packageshttps://www.sqlite.org/download.html – donwload “64-bit DLL (x64) for SQLite” and “A bundle of command-line tools for managing SQLite database files, including the command-line shell program, the sqldiff.exe program, and the sqlite3_analyzer.exe program.” extract and copy files to …
Using following code you can easily add wordpress into Ruby on Rails Project. Use my following steps to wordpress XMLRPC api integration with ruby and rails
The technique we used was quite a hack as this is something that ActiveRecord wasn’t designed to do but now in Rails 3.0 we have a new feature
deploy rails website with passenger -rails deployment, configure a VirtualHost, restart the webserver and there you go, everything should work as expected
Ruby is very powerful object oriented language. new Ruby performance improvement. Working with pure Ruby is really fun and interesting to me. I am real fan of Ruby language.
working on Ruby on Rails, daily inventing new things, trying new things and contributing to ROR community. News Ruby on Rails 3.0 released with new features
Rails 3 beta by February, Ruby on Rails 3, an upgrade to the popular Web development framework that merges Rails with the alternative Merb framework, is due to be offered as a beta release by the end of this month.
Nginx famous now. We given information for how to host multiple rails site on Nginx. we given the configuration code along with their detailed information.
Every time we need this migration script for our projects Use following command for Model generate [siwan@localhost siwan]$ ruby script/generate model UsStates exists app/models/ exists test/unit/ exists test/fixtures/ create app/models/us_states.rb create test/unit/us_states_test.rb create test/fixtures/us_states.yml exists db/migrate create db/migrate/20091117115011_create_us_states.rb [siwan@localhost siwan]$ Open the /db/migrate/20091117115011_create_us_states.rb file and paste following code: class CreateUsStates ‘Alabama’, :abbreviation => ‘AL’ UsStates.create …
When tried to install mysql gem I got following error [root@localhost siwan]# sudo gem install mysql Building native extensions. This could take a while… ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for mysql_ssl_set()… yes checking for rb_str_set_len()… no checking for rb_thread_start_timer()… yes checking for mysql.h… no checking for …