Capistrano task to show currently deployed revisionRead more at the source
If you are getting invalid SSL certificate error in the browser when serving assets from the s3 bucket and using s3 bucket name as a subdomain. This quick tip might be a help.
In my case, I had a dot in the bucket name so the domain created was like https://akhil.bansal.s3.amazo…… I removed the dot from the bucket name and it worked perfectly. Looks like S3 ssl certificate does not support a dot in the subdomain.Read more at the source
sudo apt-get install erlang-xmerl can solve following exception while starting phoenix.server. I started getting this exception right after I added :floki in applications: under mix.exs.Read more at the source
Note: This is a very basic example of mix tool and escript utility. One can skip this post if already have an idea about these tools. Lets write a simple command line program which would take a String as a command line argument and display the number of vowels in it. We’ll use Elixir’s mix … Continue reading Creating command line programs in ElixirRead more at the source
Recently I have started spending some of my time with Elixir and following Dave Thomas’ Programming Elixir. Though I am half way through with the book, and still don’t have a very good hold on the language. After reading about processes in Elixir, I thought to write something my own so I wrote a small … Continue reading My first version of Ping-Pong in ElixirRead more at the source
RubyOnRails provides us with many model callbacks around the object’s lifecycle when object is being created, updated or destroyed. For example: before_create, after_create, before_update, after_destroy etc. We use them to write & run our code around the object’s lifecycle by … Continue reading →Read more at the source