config.generators do |g|
g.test_framework :rspec,
:fixtures => true,
:view_specs => false,
:helper_specs => false,
:routing_specs => false,
:controller_specs => true,
:request_specs => true
g.fixture_replacement :factory_girl, :dir => "spec/factories"
end
Sunday, 11 March 2018
Subscribe to:
Post Comments (Atom)
Revert last commit or second last and more....
Git revert commit_id -m 1 this command willl revert last commit Git revert commit_id -m 2 this command will revert second commit with same...
-
1. rails g controller user index show in usercontroller copy and paste def index @users = User.all end def s...
-
1. rails g scaffold product title:string description:text first you have to put gem in gemfile gem 'roo-xls' gem 'axlsx_...
-
Dir.glob("#{Rails.root}/public/reports/*")
This comment has been removed by the author.
ReplyDelete