<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SMEHSAN</title>
    <description>The latest articles on DEV Community by SMEHSAN (@ehsanatwork).</description>
    <link>https://dev.to/ehsanatwork</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F153324%2F04da6264-02ce-4741-a412-b116e2ed2fbf.jpeg</url>
      <title>DEV Community: SMEHSAN</title>
      <link>https://dev.to/ehsanatwork</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ehsanatwork"/>
    <language>en</language>
    <item>
      <title>How can i create a dynamic menu</title>
      <dc:creator>SMEHSAN</dc:creator>
      <pubDate>Fri, 11 Jun 2021 12:00:21 +0000</pubDate>
      <link>https://dev.to/ehsanatwork/how-can-i-create-a-dynamic-menu-477j</link>
      <guid>https://dev.to/ehsanatwork/how-can-i-create-a-dynamic-menu-477j</guid>
      <description>&lt;p&gt;Hello&lt;br&gt;
I am trying to build a Blog CMS with ruby on rails 6. SO I have created Post, Pages and Categories with a back end admin panel.&lt;br&gt;
Now i want to add a menu from the back end. where i create a menu and in that menu there might be a page with link, post with link and category with link. each one of them is going to be a menu item so that i can view those item in the front end as a link.&lt;br&gt;
Can any one please tell me, how can i do this?&lt;br&gt;
Thank you&lt;/p&gt;

</description>
      <category>rails</category>
      <category>menu</category>
      <category>help</category>
    </item>
    <item>
      <title>deploying rails showing error "Missing encryption key".</title>
      <dc:creator>SMEHSAN</dc:creator>
      <pubDate>Tue, 16 Jul 2019 10:26:46 +0000</pubDate>
      <link>https://dev.to/ehsanatwork/problem-in-rails-credentials-in-production-2gc9</link>
      <guid>https://dev.to/ehsanatwork/problem-in-rails-credentials-in-production-2gc9</guid>
      <description>&lt;p&gt;Hello,&lt;br&gt;
I am using rails credentials in production. Like the following image. But when i am trying to upload it to digitalocean, it is showing errors&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;Rake aborted!&lt;br&gt;
01 NoMethodError: undefined method `[]' for nil:NilClass&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Where is the problem in this code?&lt;/p&gt;

&lt;p&gt;This is my credential structure, and i am calling those credentials with the following.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;:user_name =&amp;gt; Rails.application.credentials.sendgrid[:user_name],&lt;br&gt;
:password =&amp;gt; Rails.application.credentials.sendgrid[:password],&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;How can i solve this problem?&lt;/p&gt;

</description>
      <category>help</category>
      <category>rails</category>
      <category>ruby</category>
      <category>digitalocean</category>
    </item>
  </channel>
</rss>
