cheeti

Activity Graph

Page 1 of 3 | Next »

2019-02-05

[07:36:51] cheeti: has joined #RubyOnRails
[07:38:06] cheeti: hi is this possible to add two step login using active_model_otp gem?
[07:42:09] cheeti: sevenseacat we can write devise module to validate otp?
[07:42:56] cheeti: sevenseacat which gem
[08:08:09] cheeti: Ping timeout: 256 seconds

2018-12-12

[08:32:34] cheeti: has joined #ruby
[08:32:40] cheeti: in c before calling fprintf need to check fopen success
[10:29:05] cheeti: Ping timeout: 256 seconds

2018-11-28

[08:56:35] cheeti: has joined #RubyOnRails
[08:58:33] cheeti: hi i am activated active_model_otp in my rails 5 application. users can enable and desable two factor authentication. but in login for i am showing token field, is ther any way to show login form in second step if user enabled 2 factor authentication?
[13:57:53] cheeti: Ping timeout: 256 seconds

2018-08-02

[09:53:13] cheeti: has joined #RubyOnRails
[09:54:01] cheeti: hi i am usinf pdfkit to generate pdf from html, is this possible to print text outside of left margin?
[11:37:45] cheeti: Ping timeout: 252 seconds

2018-07-25

[08:00:48] cheeti: has joined #RubyOnRails
[08:02:16] cheeti: hi iam new to rails 5, after active job complete i want to refresh my home page i am using after_perform. how to refresh home page content
[08:27:45] cheeti: hi how to refresh page in after_perform
[12:45:39] cheeti: Ping timeout: 252 seconds

2018-07-13

[12:50:07] cheeti: has joined #RubyOnRails
[12:50:28] cheeti: hi how to change devise sign_out as post?
[12:53:17] cheeti: tbuehlmann No route matches [GET] "/users/sign_out"
[12:53:41] cheeti: tbuehlmann any problem if we use get method for signout?
[12:57:54] cheeti: tbuehlmann delete in get method
[13:37:27] cheeti: Ping timeout: 252 seconds

2018-07-06

[09:19:55] cheeti: has joined #RubyOnRails
[09:20:47] cheeti: hi iam using rails 5 how to validate required true for simple form collection_radio_buttons in client side
[09:21:16] cheeti: <%= f.collection_radio_buttons :environment, [[true, 'Yes'] ,[false, 'No']], :first, :last :default => true, :required => true %> not working
[10:55:17] cheeti: NL3limin4t0r hi not set default value, i wnat to show tooltip when radio buttton not checked
[11:43:45] cheeti: Ping timeout: 252 seconds

2018-07-05

[14:28:11] cheeti: has joined #RubyOnRails
[14:29:08] cheeti: hi i am using rails 5.2, how to add required true to simple_form_for collection_radio_buttons
[14:29:51] cheeti: <%= f.collection_radio_buttons :previous_report_share, [[true, 'Yes'] ,[false, 'No']], :first, :last, :required => true %> not working
[14:54:09] cheeti: Ping timeout: 252 seconds

2018-03-12

[07:47:30] cheeti: has joined #RubyOnRails
[07:48:33] cheeti: hi my website is now in ruby version 2.1.0 now i am upgraded to 2.4.0 but rake migrate not working? how to resolve this?
[08:28:08] cheeti: dminuoso tq
[09:42:35] cheeti: Ping timeout: 260 seconds

2018-03-10

[17:14:19] cheeti: has joined #RubyOnRails
[17:15:09] cheeti: hi my website using ruby version 2.1.0 is this vulnerable?
[17:28:24] cheeti: fox_mulder_cp ho tq and sorry if i upgrade ruby version 2.4 it will give any functional issues?
[17:34:10] cheeti: fox_mulder_cp tq
[18:50:59] cheeti: Ping timeout: 260 seconds

2018-03-06

[13:51:42] cheeti: has joined #RubyOnRails
[13:57:46] cheeti: hi i am using selenium-webdriver and mechanize gems to crawl urls after login it's working fine on http://demo.testfire.net website but it's not retrieving authorized urls in django website
[14:41:39] cheeti: Quit: Page closed

2018-02-16

[11:18:37] cheeti: has joined #RubyOnRails
[11:19:44] cheeti: hi, is this possible to pass hash value as image upload attribute to server?
[11:22:17] cheeti: dminuoso "tested_image_attributes"=>{"abuseimg"=>[#<ActionDispatch::Http::UploadedFile:0x007fd1cc378ca0 @tempfile=#<Tempfile:/tmp/RackMultipart20180216-13412-1kxt2s9.png>, @original_filename="Screenshot from 2018-02-05 12-43-12.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"tested[tested_image_attributes][abuseimg][]\"; filename=\"Screenshot from 2018-02-05 12-43-12.png\"\r\nContent-Type: image/pn
[11:22:43] cheeti: dminuoso when i am uploading image these attributes are coming into server
[11:23:01] cheeti: dminuoso we can add one hash value to that?
[11:23:39] cheeti: dminuoso md5 hash value to perform checksum
[11:25:19] cheeti: dminuoso no i client requirment is like that only, i want to pass with image only
[11:25:36] cheeti: dminuoso is this possible?
[11:26:05] cheeti: dminuoso yes
[11:28:47] cheeti: dminuoso not sure
[11:28:59] cheeti: dminuoso not tried before
[11:36:09] cheeti: Ping timeout: 260 seconds

2018-01-16

[10:11:42] cheeti: has joined #RubyOnRails
[10:12:58] cheeti: Hi, i am using pdfkit to gnerate pdf dynamically, how to add table of content in that pdf. can any one help me.
[10:36:21] cheeti: Hi, i am using pdfkit to gnerate pdf dynamically, how to add table of content in that pdf. can any one help me.
[10:47:51] cheeti: Hi, i am using pdfkit to gnerate pdf dynamically, how to add table of content in that pdf. can any one help me.
[11:24:55] cheeti: Ping timeout: 260 seconds

2017-12-19

[12:00:57] cheeti: has joined #RubyOnRails
[12:02:09] cheeti: hi, i am using pdfkit to generate dynamic pdf but i am not able to add index page. how to add index page?
[12:37:15] cheeti: Ping timeout: 260 seconds

2017-11-22

[11:51:58] cheeti: has joined #RubyOnRails
[11:52:50] cheeti: hi i am using pdfkit gem to generate pdf, i am able to cretae pdf but how to add index page?
[13:00:15] cheeti: Ping timeout: 260 seconds

2017-11-14

[05:03:24] cheeti: has joined #RubyOnRails
[05:05:30] cheeti: adding nested attributes dynamically not working, "Add New Tag" button not able to add new fields can tell me y i am using https://gist.github.com/entersoftapps/48b4b48114458515d8d022e798018a0c
[05:20:19] cheeti: Ping timeout: 260 seconds
[06:11:37] cheeti: has joined #RubyOnRails
[06:14:04] cheeti: Hi i am working on https://www.driftingruby.com/episodes/nested-forms-from-scratch my code is https://gist.github.com/entersoftapps/48b4b48114458515d8d022e798018a0c but "Add New Tag" button not able to add new fields
[06:18:39] cheeti: Ping timeout: 260 seconds
[07:44:46] cheeti: has joined #RubyOnRails
[07:47:01] cheeti: adding nested attributes dainamically not working using https://www.driftingruby.com/episodes/nested-forms-from-scratch link my code gist https://gist.github.com/entersoftapps/48b4b48114458515d8d022e798018a0c "Add New Tag" button not able to add fields
[10:04:25] cheeti: Ping timeout: 260 seconds

2017-11-13

[13:04:14] cheeti: has joined #RubyOnRails
[13:15:01] cheeti: hi i am using https://gist.github.com/entersoftapps/48b4b48114458515d8d022e798018a0c code but ADD NEW TAG link not able to add fields dymnamically
[13:24:58] cheeti: hi i am using https://gist.github.com/entersoftapps/48b4b48114458515d8d022e798018a0c code but ADD NEW TAG link not able to add fields dymnamically
[14:18:58] cheeti: hi i am using https://gist.github.com/entersoftapps/48b4b48114458515d8d022e798018a0c code but ADD NEW TAG link not able to add fields dymnamically
[14:58:21] cheeti: hi i am using https://gist.github.com/entersoftapps/48b4b48114458515d8d022e798018a0c code but ADD NEW TAG link not able to add fields dymnamically
[15:07:40] cheeti: hi nested attributed add dinamically not can any one help https://gist.github.com/entersoftapps/48b4b48114458515d8d022e798018a0c
[15:56:29] cheeti: Ping timeout: 260 seconds

2017-10-10

[10:03:25] cheeti: has joined #RubyOnRails
[10:04:08] cheeti: hi any tool for threat modelling using ruby on rails?
[10:20:17] cheeti: hi, can you suggest any threat modelling tool using ruby on rails?
[10:29:29] cheeti: Ping timeout: 260 seconds
[11:55:53] cheeti: has joined #RubyOnRails
[11:57:05] cheeti: hi can any saggest threat modeling tool using ror
[11:57:41] cheeti: hi can any one suggest threat modelling tool using ror
[11:58:21] cheeti: tbuehlmann i tried https://github.com/mozilla/seasponge
[11:59:08] cheeti: tbuehlmann but it's not working fine
[12:01:38] cheeti: tbuehlmann i am not able to export PDF report using seasponge
[12:08:40] cheeti: dminuoso_ what?
[13:16:19] cheeti: Ping timeout: 260 seconds

2017-09-07

[09:30:49] cheeti: has joined #RubyOnRails
[09:31:42] cheeti: hi i am facing undefined method ` ' for #<HomeController:0x007f6b3afaa878> error in line @phone_number = Appointment.where(mobile: params[:hidden_phone_number]).last
[09:47:46] cheeti: tbuehlmann_ https://gist.github.com/entersoftapps/7939692b79f084adc602f8405beef23f
[10:04:28] cheeti: matthewd https://gist.github.com/entersoftapps/21c8ddc98cc4a4bb1cc3e6011b96cf1a
[10:04:43] cheeti: matthewd this is my view
[11:49:19] cheeti: Ping timeout: 260 seconds

2017-07-26

[08:26:53] cheeti: has joined #RubyOnRails
[08:27:19] cheeti: hi, I need to generate the pdf with pdfkit and content_tag. its working fine, now i want to add the page border property to the page. I tried to add the (border_style: 'solid' or border_width: 5), this got error pipe line broke error. could please any one help me to how add the page border-property.
[08:39:41] cheeti: muzik can u sagest any link
[09:07:29] cheeti: Ping timeout: 260 seconds
[13:57:45] cheeti: has joined #RubyOnRails
[13:59:26] cheeti: hi, how to add border for every page in pdf which is already exist using prawn gem
[14:01:29] cheeti: i am using https://gist.github.com/mamatharao/351a0db7e694c8272aae4cabfa0d85d2 this but it's not working
[14:48:51] cheeti: hi, how to add border for every page in pdf which is already exist using prawn gem
[14:49:02] cheeti: i am using https://gist.github.com/mamatharao/351a0db7e694c8272aae4cabfa0d85d2 this but it's not working
[17:53:04] cheeti: Ping timeout: 260 seconds

2017-07-14

[06:38:46] cheeti: has joined #RubyOnRails
[06:40:05] cheeti: Hi i am storing html code as it is database but when i want to display in view it's executing. how to display with out executing html code
[07:09:44] cheeti: cjohnson it's not working in controller working in view only
[08:07:54] cheeti: Ping timeout: 260 seconds

2017-05-02

[08:07:29] cheeti: has joined #RubyOnRails
[08:08:44] cheeti: hi, how to validate array filed validate presence in rails 4?
[08:16:39] cheeti: hi, how to validate array filed validate presence in rails 4?
[08:20:24] cheeti: universa1 i have multi select dropdown validates_presence_of not working in that
[08:21:56] cheeti: universa1 form saving if user not select any value also
[08:49:34] cheeti: universa1 https://gist.github.com/anonymous/37c79817701b19056885b8cfeac82274
[12:50:38] cheeti: Ping timeout: 260 seconds

2017-04-28

[11:24:58] cheeti: has joined #RubyOnRails
[11:27:35] cheeti: simple form multi select dropdown <%= f.select(:service, [['Type A', 'Type A'],['Type B', 'Type B'],['Type C', 'Type C']],{ :prompt => "Please select"},{ :multiple => true, :size => 5,:required =>true }) %> server side validation not working validates_presence_of :service
[11:46:03] cheeti: Ping timeout: 260 seconds
[13:13:33] cheeti: has joined #RubyOnRails
[13:14:24] cheeti: multi select dropdown serside validation not working validates_presence_of :service how to validate?
[13:16:38] cheeti: multi select dropdown serside validation not working validates_presence_of :service how to validate?
[13:36:51] cheeti: pwnd_nsfw need to validate multi select dropdown
[13:37:15] cheeti: pwnd_nsfw <%= f.select(:service, [['Type A', 'Type A'],['Type B', 'Type B'],['Type C', 'Type C']],{},{ :multiple => true, :size => 5}) %>
[13:37:53] cheeti: pwnd_nsfw i am using jquery multiselect plugin
[13:44:35] cheeti: https://gist.github.com/anonymous/7914a5b5bd9207c289002675e448363b
[13:50:04] cheeti: pwnd_nsfw https://gist.github.com/anonymous/7914a5b5bd9207c289002675e448363b
[14:04:18] cheeti: Ping timeout: 260 seconds

2017-04-20

[11:33:49] cheeti: has joined #RubyOnRails
[11:34:21] cheeti: hi hoe to hide error in production? config.consider_all_requests_local = false not working
[11:34:34] cheeti: hi how to hide error in production? config.consider_all_requests_local = false not working
[11:35:33] cheeti: http://howtoprogram.eu/question/n-a,8792 this is not working
[11:36:09] cheeti: universa1 i want to hide application error want to show 500 page
[11:36:33] cheeti: checking in server only
[11:36:48] cheeti: http://54.243.7.78/
[11:39:12] cheeti: pawandubey can u please tell me how to set production environment
[11:46:02] cheeti: pawandubey rails s
[11:46:46] cheeti: pawandubey i am checking in server
[11:47:08] cheeti: i am running sudo service apache2 restart
[11:48:20] cheeti: pawandubey testing in server using pem file not in local system
[11:48:35] cheeti: http://54.243.7.78/
[11:49:18] cheeti: AWS pem file
[11:51:20] cheeti: we can't run rails s in server
[11:51:51] cheeti: how can i run in that RAILS_ENV=production rails s
[11:53:03] cheeti: yes exact
[11:54:30] cheeti: i modified config.consider_all_requests_local = false in config/environment/production.rb file and restart the server
[11:54:36] cheeti: but not working
[11:55:41] cheeti: did this sudo service apache2 restart
[11:56:39] cheeti: how to restart?
[11:57:38] cheeti: ok after that
[11:58:38] cheeti: after that
[12:04:01] cheeti: pawandubey there is no server.pid in that directory
[12:05:15] cheeti: in sever we don't run application like rails s
[12:05:28] cheeti: i did't use that command at all
[12:06:53] cheeti: yes i did that it's showing 15808 pts/0 S+ 0:00 grep --color=auto rails
[12:07:47] cheeti: if i run kill -9 15808 it's showing -bash: kill: (15808) - No such process
[12:11:43] cheeti: restart command?
[12:17:12] cheeti: sudo service apache2 restart this only
[12:23:59] cheeti: y all those things in gemfile group :development do gems not loading in server
[12:24:09] cheeti: y this not working
[12:25:06] cheeti: this means in server running in production level only
[12:25:24] cheeti: y config.consider_all_requests_local = false this is not working
[12:39:29] cheeti: Ping timeout: 260 seconds

2017-04-18

[12:54:08] cheeti: has joined #RubyOnRails
[12:58:11] cheeti: hi i am using rails 5 in this when i call example.com:3004 or example.com:8443 it displaying rails version and server version how to desable it
[13:05:58] cheeti: universa1 https://capdev.advancesuite.in:3004/ how to disable this url
[13:08:13] cheeti: universa1 what?
[13:22:09] cheeti: Ping timeout: 260 seconds

2017-04-04

[07:04:54] cheeti: has joined #RubyOnRails
[07:06:41] cheeti: Hi how to set httponly and secure flag for all cookies using rails 4?
[07:13:21] cheeti: Hi how to set httponly and secure flag for all cookies using rails 4?
[07:28:50] cheeti: Hi how to set httponly and secure flag for all cookies using rails 4?
[08:27:18] cheeti: Quit: Page closed

2016-07-21

[05:17:05] cheeti: has joined #RubyOnRails
[05:19:24] cheeti: Hi is this possible to edit the role of the devise usere using rolify? UsersRoles.update(:role_id => 3) giving NameError (uninitialized constant EditrolesController::UsersRoles) error
[07:23:52] cheeti: Hi is this possible to edit the role of the devise usere using rolify? UsersRoles.update(:role_id => 3) giving NameError (uninitialized constant EditrolesController::UsersRoles) error
[07:28:14] cheeti: sevenseacat then how to update users roles?
[07:29:22] cheeti: sevenseacat we cant update users_roles table data?
[07:30:08] cheeti: sevenseacat can you suggest some url i am new to this
[07:37:18] cheeti: sevenseacat we cant delete users_roles data also like UsersRoles.delete(:id => 1)
[07:38:05] cheeti: sevenseacatthen how to delete can explain
[07:39:10] cheeti: sevenseacat yes till yet i am not used associations that's why i am not getting
[07:40:28] cheeti: sevenseacat i am using rolify gem and devise users model
[07:46:42] cheeti: sevenseacat https://gist.github.com/mamatharao/6830e8fe27b5fdd2355fe2b63113208f
[07:50:20] cheeti: sevenseacat schema that i sent to you
[07:50:29] cheeti: models that i have
[07:51:19] cheeti: sevenseacat imin i will send all models gist
[07:53:49] cheeti: sevenseacat https://gist.github.com/mamatharao/435435c0a7485194320fd87d3b026df2
[07:54:08] cheeti: sevenseacat these are the models i have
[07:55:53] cheeti: sevenseacat role.rb model have association
[07:56:03] cheeti: sevenseacat can you help me now
[08:00:50] cheeti: sevenseacat ??
[08:05:00] cheeti: sevenseacat can you please it's urgent
[10:23:48] cheeti: Ping timeout: 250 seconds

2016-05-24

[04:29:09] cheeti: has joined #RubyOnRails
[04:32:41] cheeti: Hi i am using simple captcha in my application it's giving error in production not loading image but working localhost perfectly. Error is "Routing error Get /simple_captcha" https://gist.github.com/mamatharao/d2827d9b49ecf8104865d5083c7b23ce
[04:35:02] cheeti: sevenseacat how to load in production group
[04:37:47] cheeti: sevenseacat can you please tell me more i am added gem in Gemfile and run bundle install in server
[04:44:37] cheeti: Radar https://gist.github.com/mamatharao/d2827d9b49ecf8104865d5083c7b23ce
[04:46:52] cheeti: Radar How to move? i am not getting?
[04:48:34] cheeti: Radar Ho thank i got it
[04:50:41] cheeti: Radar Thanks it's working
[06:24:30] cheeti: Quit: Page closed

2016-05-18

[12:41:45] cheeti: has joined #RubyOnRails
[12:43:13] cheeti: hi verify_recaptcha giving error in production i am using rails 4.2.5. how to solve this?
[12:46:13] cheeti: context i know i have to resolve but don't know how that's why asking
[12:47:39] cheeti: universa1 tell me what error?
[12:53:40] cheeti: universa1 https://gist.github.com/mamatharao/30ca00f1da4ccf4c21622507736c7843
[12:58:17] cheeti: workmad3 what?
[13:03:57] cheeti: universal https://gist.github.com/mamatharao/a25bac6671de35364cd7d3afd12ff05f
[13:04:59] cheeti: universa1 sorry i am not getting it is also not clear
[13:10:53] cheeti: Quit: Page closed

2016-03-17

[08:43:21] cheeti: has joined #RubyOnRails
[08:46:36] cheeti: hi i am hosting rails application in aws apache web server but it getting index of/ page how to solve this?
[09:06:55] cheeti: Quit: Page closed

2016-03-11

[06:03:14] cheeti: Hi i am trying to parse "http://web.abc.com/%3E%22'%3E%3Cmy_tag_f4d8ba6507b37dbc07b182b323461a17/%3E" into mysql database but its giving syntax error if i decode or encode that string also giving same error how to solve this?
[06:05:05] cheeti: rvanlieshout i am storing "http://web.abc.com/%3E%22'%3E%3Cmy_tag_f4d8ba6507b37dbc07b182b323461a17/%3E" string in mysql column
[06:06:04] cheeti: baweaver using insert query
[06:07:39] cheeti: @con.query("INSERT INTO issue (bugurl) VALUES ('http://web.abc.com/%3E%22'%3E%3Cmy_tag_f4d8ba6507b37dbc07b182b323461a17/%3E')
[06:10:16] cheeti: baweaver is that righr query i defined @con as db connection all simple columns are parsing onle this column is giving error because or special characters
[06:11:25] cheeti: rvanlieshout Y?
[06:14:01] cheeti: rvanlieshout but i have to do i want to insert json data into database
[06:14:22] cheeti: rvanlieshout this is client requirment
[06:14:42] cheeti: baweaver s
[06:15:01] cheeti: rvanlieshout i am using api
[06:15:28] cheeti: i am sending data from my site to api thats why i am using that query
[06:17:44] cheeti: https://gist.github.com/anonymous/45e454fc6b9d733924a8
[06:19:36] cheeti: rvanlieshout Y?
[06:20:03] cheeti: rvanlieshout i am using rb file to insert json data into DB is that not ok?
[06:21:49] cheeti: rvanlieshout i have to run scan using system() after completing scan it will create json file i have to parse that json file data into DB this is my requirment
[06:23:07] cheeti: rvanlieshout so iam added this code in ruby file after after completing scan i will call this rubu file by passing json file name and it will insert data into db
[06:24:10] cheeti: if i add this code in api controller before scan completion this code is calling thats why not working
[06:25:01] cheeti: rvanlieshout ok i will try
[10:33:52] cheeti: hi i am creating sub domain for every user when signup with my main site we can pass this user detatis to there subdomain that they can login in there subdomain?
[10:35:31] cheeti: universa1 same not every sub domain have there own database.
[10:36:02] cheeti: universa1 main site DB will have all the users details
[10:36:31] cheeti: universa1 ok i will explain
[10:37:57] cheeti: rvanlieshout with that we can store user details in devise table
[10:39:42] cheeti: universa1 when user registered in abc.com with name A then i have to create subdomain with A.abc.com with superate DB and i have to pass that user detaile to this DB to be able to login
[12:32:40] cheeti: Ping timeout: 252 seconds