Ruby on Rails Developer
Cypher IT Solutions Pvt. Ltd., NoidaRuby on Rails Developer
W3villa Technologies Pvt. Ltd., NoidaRedis Stack
Nginx
Object-Oriented Programming (OOP)
UI/UX
Git
MySQL
PHP
PostgreSQL
Sqlite
Ruby on Rails
HTML5
Javascript
Bootstrap
jQuery
So my name is Dushant Sherma, and I live in New Delhi, Budharpur. And I've been working since last 5 years, and I have experience of Rovi on Rails, Uh, in I have 4 years of experience in Ruby on Rails and 5 years of experience in HTML, CSS, JavaScript. Uh, I know jQuery and Bootstrap, and I live with my family. Uh, currently, I'm working in Cipher IT Solutions Private Limited, Noida, and I've been working in this company for the past, Uh, 2 years. Uh
How would you ensure you call the test? So your principles in Ruby and Rails. So, uh, I can write test cases. I can, uh, write unit test cases. I can use our spec to check my code. I can, Uh, have multiple conditions and aspects to check each and every, uh, block of code, every line. That's how I'm gonna Check if my code
Can you talk about the challenging JavaScript problem you solved, and why did you choose JavaScript for it? I haven't, uh, worked on JavaScript much, but I know I if there is A challenge I might be able to solve it because I've been I know a lot of stuff, A lot of stuff in JavaScript. So I I haven't solved any
What's the most complex problem you have solved using JavaScript, and why was JavaScript the right key for the solution? I think, uh, I think XHR would be, like, the most complex thing because I I haven't than anything gaming related in JavaScript? Because I know it's a it's a Very good language to, uh, understand how games works, how, You know, the physics works in games, but I haven't worked on it yet. But I'm looking to work. If if I get the chance, I'll I'll surely Uh, dig dig dig deep into it.
Like a versioning Ruby on Rails. So how would I handle API versioning? There there are, like, uh, I can create the APIs. Uh, there there are, like, schemes. You can create API v one, API v two in controllers, so we can handle through that part. We can handle API versioning by adding the controllers of API v 1, API v 2, API v 3, whatever whatever we want.
You provide an example of of a sophisticated feature or functionality you implemented in our web progressive app? What were its key features sophisticated feature or functionality implemented in a web progressive app? So, uh, we have implemented a live chat functionality, live, uh, live chat messaging. So it required us in the server and action cable and all of that. And we have also created an application, uh, which, uh, had the crypto screeners. So we, uh, gathered the data from CoinMarketCap, and We, uh, played with it and to get a screener to create a screener. Uh, the all the formulas were there. They were provided by the client, but we have to manage multiple APIs, we have to get, uh, gather data from multiple APIs, and then we have to calculate according to that.
The following Ruby on Rails code block. Can you explain what's happening here and debug if there's an issue? Uh, class is users controller that inherits the application controller. The show user equals to user dot find by ID. Param's ID redirect to root URL if user dot Nil. Redirect to root URL. Do we have any root URL defined? That's the question. Uh, what it does is, uh, we have a show method in the class users controller. We have a controller, user's controller, and it has a method, a show method. So when we call it, what it does is It gets the ID from the parameter that can be passed through the URL or maybe separately while if if it's a post request, we can we can, uh, pass it through the, uh, parameters. And if it's a get request, we can pass it through the URL. And once we get the ID, we'll find this ID in the user table users table, which is the user model. So, uh, once we, uh, get the record, we save it in the add the right user, which is a global a variable in and then if, uh, user is nil, If the user is not present, if if we don't get any data by that ID, then what we do is we redirect This redirect, uh, to the root URL if we don't find the user.
Describe a scenario where you have used a web progressive app technology to successfully solve complex problem related to offline usability or device access. So I was in everywhere here. Use the web to successfully solve a complex problem related to offline usability or device access. No. I haven't used anything yet, but I would be Eager to learn more about this.
Howard, you architect us scalable Ruby on Rails application to be deployed on DigitalOcean while ensuring vulnerability and flexing Scalable Ruby on Rails application to be deployed on DigitalOcean. Flexibility. Uh, we can create CIGD pipelines. We can, Uh, so when we push the code, it automatically gets when when we push and voice the code, uh, it automatically gets deployed to the server. I don't know much about the DigitalOcean, or DevOps things, uh, because I was only doing the No developing part, not the DevOps part. But, yeah, I would We're learning that in the future.
Describe a strategy you have used for exception handling in. Uh, I used try catch to handle the exceptions. If we get any error, we try some block of code. And if we get some error, we throw, uh, it in the exception. A