This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails new appname --skip-active-record | |
gem 'mongo_mapper' | |
gem 'bson_ext' | |
$ bundle | |
[...] | |
$ rails g mongo_mapper:config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Purchase Invoice Program Code | |
#include "stdio.h" | |
#include "conio.h" | |
void main() | |
{ | |
CompanyInformationStruct company_information; | |
CustomerInformationStruct customer_information; | |
InvoiceInformaionSturct invoice_inforamtion; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#The steps need to be performed to use resque-web with in your application | |
#In routes.rb | |
ApplicationName::Application.routes.draw do | |
resources :some_controller_name | |
mount Resque::Server, :at=> "/resque" | |
end | |
#That's it now you can access it from within your application i.e |