Re: [Rails] div_for

2017-06-20 Thread Walter Lee Davis
> On Jun 20, 2017, at 2:57 PM, fugee ohu wrote: > > <%= content_tag_for(:div, post) do %> > <%= simple_format post.content %> > <% unless post.attachment.blank? %> > <%= image_tag(post.attachment, height: 250) %> > <% end %> > <%=

Re: [Rails] Sketch (mac app)

2017-06-20 Thread Joe Guerra
Yes, I tried it. But it expired after a couple of days. On Tuesday, June 20, 2017 at 4:29:57 PM UTC-4, Hassan Schroeder wrote: > > On Tue, Jun 20, 2017 at 12:47 PM, Joe Guerra > wrote: > > Is this a useful tool for web development? I thought about purchasing > it >

Re: [Rails] Sketch (mac app)

2017-06-20 Thread Hassan Schroeder
On Tue, Jun 20, 2017 at 12:47 PM, Joe Guerra wrote: > Is this a useful tool for web development? I thought about purchasing it > and learning/using it, but I don't know how well it fits in with ruby on > rails and other stuff. > I am a weak programmer, and even weaker

[Rails] Sketch (mac app)

2017-06-20 Thread Joe Guerra
Is this a useful tool for web development? I thought about purchasing it and learning/using it, but I don't know how well it fits in with ruby on rails and other stuff. I am a weak programmer, and even weaker designer (I prefer black and white text). Thanks, Joe -- You received this

Re: [Rails] div_for

2017-06-20 Thread fugee ohu
On Tuesday, June 20, 2017 at 8:52:58 AM UTC-4, Walter Lee Davis wrote: > > > > On Jun 20, 2017, at 3:29 AM, fugee ohu > wrote: > > > > > > > > On Sunday, June 18, 2017 at 11:30:27 PM UTC-4, Walter Lee Davis wrote: > > > > > On Jun 18, 2017, at 8:24 PM, fugee ohu

[Rails] Rails 5.0.2 issue with Enum Types

2017-06-20 Thread Sameer Kalburgi
Hi, I've been investigating an issue we've experienced the last few weeks since upgrading to Rails 5 and was hoping to see if anyone had an insight. Issue: Every so often after our Rails server starts our API will return null for one enum on one model even though the enum's backing field is

[Rails] Rails 5.1.2.rc1 has been released

2017-06-20 Thread Rafael Mendonça França
Hi everyone, I am happy to announce that Rails 5.1.2.rc1 has been released. If no regressions are found, expect the final release on Monday, June 26, 2017. If you find one, please open an [issue on GitHub](https://github.com/rails/rails/issues/new) and mention me (@rafaelfranca) on it, so that

Re: [Rails] div_for

2017-06-20 Thread Walter Lee Davis
> On Jun 20, 2017, at 3:29 AM, fugee ohu wrote: > > > > On Sunday, June 18, 2017 at 11:30:27 PM UTC-4, Walter Lee Davis wrote: > > > On Jun 18, 2017, at 8:24 PM, fugee ohu wrote: > > > > > > > > On Friday, June 16, 2017 at 6:47:49 PM UTC-4, Walter

Re: [Rails] div_for

2017-06-20 Thread fugee ohu
On Sunday, June 18, 2017 at 11:30:27 PM UTC-4, Walter Lee Davis wrote: > > > > On Jun 18, 2017, at 8:24 PM, fugee ohu > wrote: > > > > > > > > On Friday, June 16, 2017 at 6:47:49 PM UTC-4, Walter Lee Davis wrote: > > There can only be one instance of an ID on any given