Sorry about my poor coding and language skills. I appreciate your
comments.
> Maybe use find_in_batches ?
> or find_and_create_by_column_name ?
will probably help. I'll take a look.
thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to
Pry Flack wrote:
> Soichi Ishida wrote in post #1112146:
> > Rails 4.0.0
> > Of course, I can loop through all elements like
> >
> > Info.all.each do | i |
> > if i == ... then
> > Info.create(... => i)
> > end
> > end
> >
> > But it seems inefficient.
> >
> > Is there bette
Hello, I want to change the connection collation that rails uses but I'm
unsure of exactly what the best way to do this is. Everything in MySQL -
the server, database and all tables are set to utf8_unicode_ci collation,
but the connection collation in rails still appears to be utf8_general_ci
Can anyone tell me how to get line breaks in the debug(session)
output...
application.html.erb:
<%= full_title(yield(:title)) %>
">
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= yi
Thanks, that's good advice. The console told the tale. It appears as though
ImageMagick is delegating to ffmpeg, and the convert function that Paperclip
generates in their thumbnail operation tacks a [0] to the end of the filename
to get it to use the first frame. I need to do some more digging,
you may want to put this into something that loads when you app loads, like
initializers/paperclip.rb
Paperclip.options[:log] = true
On Jun 12, 2013, at 11:58 AM, Jim Ruther Nill wrote:
> I haven't seen the paperclip code but I think you can look at the
> preprocessors used by default by pap
Soichi Ishida wrote in post #1112146:
> Rails 4.0.0
> Of course, I can loop through all elements like
>
> Info.all.each do | i |
> if i == ... then
> Info.create(... => i)
> end
> end
>
> But it seems inefficient.
>
> Is there better ways or gems that do the job I am looking
I haven't seen the paperclip code but I think you can look at the
preprocessors used by default by paperclip.
You usually see logs when paperclip does some processing using rmagick
which may be a clue as to what
part of the lib you want to look at.
On Wed, Jun 12, 2013 at 11:15 PM, Walter Lee Dav
Wins Lin wrote in post #1112202:
> There are three fields:
> e-mail
> handle
> password
>
> What is a "handle"? Is it a "login name"? Dictionary gives many meanings
> but none of them is a login name.
Yeah usually a handle is a nickname, or your login name :)
--
Posted via http://www.ruby-forum.
There are three fields:
e-mail
handle
password
What is a "handle"? Is it a "login name"?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails
I have been using CarrierWave for file uploads on a site which needs to accept
a really wide range of different movie formats, stills, PDFs... And I have been
struggling with making thumbnails of certain formats. After much yak-shaving
with ffmpeg and imagemagick and Rmagick, I finally decided t
Pry Flack wrote in post #699:
> Berlimioz wrote in post #694:
>
>> On the other hand, when you have this :
>>
>> <<-EOF
>>
>> #{yield self}
>>
>> EOF
>>
>> the expression "yield self" will here return the return value of the
>> block
>> you pass. When you pass a
Hi,
I am trying to provide a webcal link to my registered user like below
webcal://www.domain.com/ical/b.php?uid=13301632&key=asdgagaweg
in a Ruby on Rails app so he can load the event entries in his calender
application (Outlook, Ical).
How should I go about creating my own Webcal URL? What ar
13 matches
Mail list logo