We are looking for few developers for a Project in San Jose CA
Ruby on Rails - High
Front-End/ UX Design - Good to have
Perl / Python / PHP - Good to have
Java - High
*Requirements for the role:*
- Experience of designing and developing integration solutions (APIs,
middleware, and Web
Please, can you send me your email id?
On Thu, Jul 17, 2014 at 6:25 AM, Mahita Chava raghotma.ch...@gmail.com
wrote:
We are looking for few developers for a Project in San Jose CA
Ruby on Rails - High
Front-End/ UX Design - Good to have
Perl / Python / PHP - Good to have
Java - High
As far I understand this article, this related to Rails 3 and MySQL, and
how to use UTF8 encoded data everywhere. I don't know about MySQL, but
Rails 4 and Ruby 2 with SQLite don't suffer this problem: I didn't have
any trouble, processing all kinds of Unicode characters with my
application,
I have a models Parent and Child, an the following association:
Parent
has_many :children, dependent: :destroy
Child
belongs_to :parent
Further, I have two Parent instances:
pfrom = Parent.find_by_id(from_id)
pto = Parent.find_by_id(to_id)
My goal is to transfer all children from pto
Hello,
IM at listing 7,9 of the tutorial and according to the book that one must
be red.
But on my system it is green.
Can anyone explain that.
My code can be found here : https://github.com/roelof1967/sample_app
Roelof
--
You received this message because you are subscribed to the
On Jul 16, 2014, at 10:47 PM, Yves Riel wrote:
Hi Guys,
I have started the development of a web app targeting a niche market for
the eLearning field. I have validated the concepts with subject matters
in the field and the reception was very positive thus my interest in
going a lot further
On Jul 17, 2014, at 7:27 AM, Ronald Fischer wrote:
I have a models Parent and Child, an the following association:
Parent
has_many :children, dependent: :destroy
Child
belongs_to :parent
Further, I have two Parent instances:
pfrom = Parent.find_by_id(from_id)
pto =
On 17 July 2014 10:22, Ronald Fischer li...@ruby-forum.com wrote:
As far I understand this article, this related to Rails 3 and MySQL, and
how to use UTF8 encoded data everywhere. I don't know about MySQL, but
Rails 4 and Ruby 2 with SQLite don't suffer this problem: I didn't have
any trouble,
On 17 July 2014 12:44, Roelof Wobben rwob...@hotmail.com wrote:
Hello,
IM at listing 7,9 of the tutorial and according to the book that one must be
red.
But on my system it is green.
Can anyone explain that.
A simple technique to debug your code is to use puts statements. They
will output
Colin,
That shows how to create a Tempfile with a given encoding but the question
is when a user uploads a file through a form and Rails creates a Tempfile
is there a way to indicate that it should always create those Tempfiles
with a default encoding such as UTF-8?
On Thursday, July 17, 2014
On 17 July 2014 15:42, Eric Saupe ericsa...@gmail.com wrote:
Colin,
That shows how to create a Tempfile with a given encoding but the question
is when a user uploads a file through a form and Rails creates a Tempfile is
there a way to indicate that it should always create those Tempfiles with
Colin,
Thanks,
But how can I use puts when rspec is checking for the tags title
I have looked at the log/test.logs but nothing looks wierd there.
Roelof
Op donderdag 17 juli 2014 16:16:57 UTC+2 schreef Colin Law:
On 17 July 2014 12:44, Roelof Wobben rwo...@hotmail.com javascript:
In that case is there something like a simple config change to be made in
say config/application.rb that tells Rails how to encode created Tempfiles?
If not would that be something that could/should be added to the Rails
project itself?
On Thursday, July 17, 2014 8:51:30 AM UTC-6, Colin Law
Thanks again for the link, Walter. With some tweaking, got it working all
in the same form. I'm not processing the uploads at all but it seems like
you could still use carrierwave or paperclip to process in the background
after uploading.
On Wednesday, July 16, 2014 12:40:08 PM UTC-7, Mark J.
Colin Law wrote in post #1152686:
On 17 July 2014 15:42, Eric Saupe ericsa...@gmail.com wrote:
That shows how to create a Tempfile with a given encoding but the question
is when a user uploads a file through a form and Rails creates a Tempfile is
there a way to indicate that it should always
Hi Matt,
Thanks for your input. Actually I made it working without using STI. Not
sure this is the right way of doing it. But, this is what I wanted.
class TransactionItem ActiveRecord::Base
validates :note, length: { in: 2..255 }
validates :transaction_date, presence: true
end
class
Jason,
Have you tried this http://pragmaticstudio.com/?
Kudzai
On Wednesday, July 16, 2014 8:05:50 PM UTC-7, Jason Hsu, Rubyist wrote:
I've gone through Michael Hartl's railstutorial.org, and I'm currently
revisiting it. In fact, I use it as a resource for developing apps
(especially in
OK, so after some digging. It seems that when you create your new File
object and set the encoding you may not need to read the Tempfile in its
entirety. You can create a new File object using the Tempfile.
File.new(my_temp_file, encoding: 'utf-8') and then use this file. It should
be using
OK, some other tutorials I've found out about are:
http://ruby.bastardsbook.com (free)
http://learn-rails.com ($19)
Kudzai, Pragmatic Studio sounds great, but it's far more expensive than the
others. Thus, I consider the free and cheaper tutorials to be higher
priorities. I may still try the
Hi Walter,
Thanks for the kind words! I try my best to keep things in perspective
:-)
Yves
--
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
Can anyone help with this (I'm a novice). I am trying to update several
attributes in the History table from inside another controller (Drill
controller)
if !(History.where(user_id = ? AND question_id = ?, current_user.id,
play_list[0][0])).empty?
row_to_update = History.where(user_id = ?
Your row_to_update actually is still a relation (which for most purposes
behaves like an Array) rather than a single row. It may contain one or more
items.
If you are sure your array only contains one item, you can do:
row_to_update = History.where(user_id = ? AND question_id = ?,
Alternatively, if you are not sure (and don't care) if your query has only
one record or more than one, and want to update all records that match, you
can use .update_all instead of .update_attributes:
records = History.where(user_id: current_user, question_id: play_list[0][0])
23 matches
Mail list logo