摘要:
在seed文件中输入一些预加载的种子job,注意属性和值都要有: 正确✅: for i in 1..10 do Job.create(title:"No#{i}",description:"这是关于No#{i}的介绍",wage_upper_bound: rand(50..99)*100, wage 阅读全文
摘要:
http://guides.rubyonrails.org/layouts_and_rendering.html 中文 This guide covers the basic layout features of Action Controller and Action View After rea 阅读全文
摘要:
http://fontawesome.io/examples/ content_tag(:i,"", class:"fa fa-lock fa-spin fa-lg fa-fw) //用<i>或者<spin> fa-spin:可以让图标icon旋转 fa-lg(fa-3x):让图标比例放大 (Lar 阅读全文