Re: [Rails] Need opinions on a Rails app as a framework

2015-01-16 Thread Timothy Mukaibo
Look into Bundler, especially the 'bundle install --deployment' option. I package my app into a binary artifact (using .deb, as we run on Ubuntu), and then no internet access is required to bundle install and start the app server. The caveat is, I don't know what differences there are (if any) wit

[Rails] Re: Inline attachments appear as downloadables

2015-01-16 Thread Sillius Soddus
Scott Ribe wrote in post #1166818: > On Jan 16, 2015, at 2:25 PM, Thomas Michael > wrote: >> >> Still, the email always comes through as a downloadable image. I'm >> using Rails 4.1.6. >> >> Any advice or pointers in the right direction? > > I notice that you're not setting the encoding to base64

Re: [Rails] Inline attachments appear as downloadables

2015-01-16 Thread Scott Ribe
On Jan 16, 2015, at 2:25 PM, Thomas Michael wrote: > > Still, the email always comes through as a downloadable image. I'm > using Rails 4.1.6. > > Any advice or pointers in the right direction? I notice that you're not setting the encoding to base64 as suggested in the first link you posted.

[Rails] Inline attachments appear as downloadables

2015-01-16 Thread Thomas Michael
Hello, I'm attempting to generate emails with inline attachments. I'm using Action Mailer 4.1.6 and the attachment.inline method, but for some reason all of my attachments are coming through as regular downloadable attachments, not as inline attachments. Here's the relevant code: In emails_mail

[Rails] Re: Duplicate record including paperclip image

2015-01-16 Thread Tony Tambe
I figured out a work around and I figured I'd post it here in case anyone can benefit. You can set up Paperclip to load an image using a url instead of selecting a file from your local PC. I had this set up, but haven't used it in a while. (I had removed that form field from the new form, so t

[Rails] LANDESK ServiceDesk Solution is based on ruby on rails we need somebody to guide us where is the CSS

2015-01-16 Thread Sameer Halawani
LANDESK ServiceDesk Solution is based on ruby on rails we need somebody to guide us where is the CSS files to make some customisation on some pages on the interface Note: LANDESK ServiceDesk is an IIS based solution For interested Please send me the quote for this service samee...@tjdeed.com

[Rails] [ANN] Public release of Rbkit - the new Ruby profiler

2015-01-16 Thread Emil S
Hello Rubyists, Our team at Codemancers have been hard at work on Rbkit - the new Ruby profiler with a GUI. Today, we are making this tool available to the public. To download or learn more about Rbkit, head over to rbkit.codemancers.com . Try it and let us know ! - Emil -- You received this m

Re: [Rails] Gem is in gemlist but getting error: “Could not find gem”

2015-01-16 Thread Colin Law
On 15 January 2015 at 23:18, Beckah Zz wrote: > .. > I'm not able to use bundler because the connection is blocked at my > workplace, but regardless, why is it giving me the error that the gem > needs to be installed when it is installed? To run bundle when you do not have a connection the comman

[Rails] Re: "g controller" is creating .css not .css.scss

2015-01-16 Thread Frederick Cheung
On Friday, January 16, 2015 at 6:51:18 AM UTC, E. Allan Montes D. wrote: > I am using "rails g controller welcome index" to generate the files for a new > app, but it generates welcome.scss (instead of welcome.css.scss). Terefoe I > am unable to link the css code to the main page. Any suggestions

Re: [Rails] form_tag and link_to

2015-01-16 Thread Melb01
It worked greatly, thx Is it possible to do the same thing between two pages of search without submitting? means I have two pages of results, I do a search with the first staying in the same page but when I click the second page I get the search term and I perform a search automatically in the s