Posts

Showing posts from September, 2021

Rails Errors :: All

 https://rollbar.com/blog/top-10-errors-from-1000-ruby-on-rails-projects-and-how-to-avoid-them/

Rest Api Questions :: Ruby on Rails

  8. What are the HTTP Methods? HTTP Methods are also known as HTTP Verbs. They form a major portion of uniform interface restriction followed by the REST that specifies what action has to be followed to get the requested resource. Below are some examples of HTTP Methods: GET: This is used for fetching details from the server and is basically a read-only operation. POST: This method is used for the creation of new resources on the server. PUT: This method is used to update the old/existing resource on the server or to replace the resource. DELETE: This method is used to delete the resource on the server. PATCH: This is used for modifying the resource on the server. OPTIONS: This fetches the list of supported options of resources present on the server. The POST, GET, PUT, DELETE corresponds to the create, read, update, delete operations which are most commonly called  CRUD Operations . 7. What are HTTP Status codes? These are the standard codes that refer to the predefined stat...

How to Create API in Ruby on Rails ????????????????

https://medium.com/swlh/how-to-build-an-api-with-ruby-on-rails-28e27d47455a 

Builder Interview PReparation

  What is Associations ::  Association defines the relationship between models.Association is a connection between two active record models.It makes easer to perform various operations on the record in your code.  Why we Use Association ::    Because they make common operations simpler and easier in your code.  What is Join Method ::  Join Method is the       ................................................................................. What is the map method :: The map() method in Javascript creates an array by calling a specific function on each element present in the parent array.It is non mutating method.Fenerally map method is used to iterate over an array and calling functon on every element of array.  What is include Method ::  .................................................................................  What is Self Join ::  Self Join is the Join Method in which Table join with itself with the use...

Rails Routes :: very nice link

Image
 https://medium.com/podiihq/understanding-rails-routes-and-restful-design-a192d64cbbb5 ........................................................................................................................................................... W hat is Rails Router? A router in Rails is a directing module that recognizes browser URLs and dispatches them to the controller actions requested. To make it simple, when you enter a url in your domain, the rails router will know which controller and action to handle your url Rails router in action In the diagram above, a request made by a user to the URL  /pages/home  goes through the browser to the Rails Router( first blue box above ). The router then decides that the request be handled by the  pages_controller  at the same time being particular on the controller action as  home.  The controller now renders back HTML to the user as a response. This answers our next question… Where does users request go?  ...

Write in the Resume :: Important Quotes.

 I build this application to create the Ecommerce Platform for Customers and Suppliers ,At one end Customer can see the products ,can compare, order that and payment ,at the other end the Supplier can show the different Products with their features.   Currently I've a rich experience in Agile web framework Ruby On Rails(Rails 3, Rails4, Rails5, Rails6), front end technologies (HTML, CSS, jQuery,, Ajax etc ), My technical skills - Ruby 2.X, Ruby 1.9, Ruby on Rails (Rails 3.0.x/Rails 3.1/Rails 3.2/Rails 4.x/ Rails5.x, Rails6.x) HAML, SASS, , HTML5, CSS3, Javascript, jQuery, Bootstrap, Ajax MySQL, PostgreSQL, Trello, Pivotal Tracker Redmine, and Unfuddle Source Management - Git, GitHub, Bitbucekt etc - I work on Ubuntu and Ubuntu for Nginx. - I have good server deployment knowledge into various server hosting Plateform i.e. Digital Ocean, AWS EC2, AWS Load balancing, Elasic Beanstal, Heroku e.t.c

builder interview preparation

polymorphic association :: picture product employee has_and_belongs_to_many :: assemblies parts has_many_through association patients physicians appointments has one_through association  supplier account and account history self join   employee with its subordinate and manager  Polymorphic Association ..................................... Class Picture < Application Record  belongs_to :imageable,polymorphic: true end Class Product <Application Record  has_many :pictures ,as: :imageable end Class Employee< Application Record  has_many :pictures ,as: :imageable end has_and_belongs_to_many ..................................... Class Assembly < Application Record  has_and_belongs_to_many :parts end Class Part <Application Record  has_and_belongs_to_many :assemblies end The has_many :through Assocication :: many to many association ..................................... this association is often used to set up a many -to-many ...