Bruno Coelho wrote in post #1052445:
> Where did you put the file?
>
> Bruno Coelho Santiago
I put it in the folder ruby192/bin
--
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 post to this g
I have done some googling to try and figure out how I can use COPY
FROM STDIN with rails and have ran into some posts on stackoverflow or
the mailing list but none of them seem to be working with rails 3.2
Does anybody have a working example of using COPY FROM STDIN?
Some things I have tried
http
For a project I used the gem 'event_calendar'. However, there were a
couple things I had to manually change within the gem source to suit my
needs.
How would I go about to deploy this in production 'the rails way'? Right
now I have just replaced the sourcecode of the gem installed on my
production
Hedgeye Risk Management's engineering department is looking for a for
an intern to help develop web applications, fix bugs, pair program,
contribute ideas, work with internal customers, and research new
methods and technologies. The ideal candidate will be an aspiring web
software engineer looking
Hedgeye Risk Management's engineering department is looking for a for
an intern to help develop web applications, fix bugs, pair program,
contribute ideas, work with internal customers, and research new
methods and technologies. The ideal candidate will be an aspiring web
software engineer looking
Is it all made with scaffolds? or what do you have in your controller?
Javier Q.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send
Hi Folks,
I want a form in a rails 3.0.10 app with form_for exactly I have 3
models
@apple, @basket, @table
class Apple
belongs_to :tables
belongs_to: baskets
end
class Basket
belongs_to :tables
has_many :apples
end
class Table
has_many :baskets
has_many :apples
end
M
Well, the point (as IanJ also made) is that you have to do one thing at a time.
Learn the language (Ruby), learn the quirks and conventions of Rails, learn to
test and debug the hard way. Then add integrated testing. It's a steep learning
curve, just learning how to program. If you don't develop
I totally agree with Collin. do the testing.
Been working with rails and ruby for about 6 months now (give or take
a month) and started with Hartl's tutorial. I also started by usign
rails 3.1.x before he had developed the chapter/material for it so
there was a lot of debugging, IRC chatting, go
I know this is an old topic, and perhaps you've solved it. But for
anyone who comes across this thread, here's a post that might be
helpful:
http://stackoverflow.com/questions/4382280/is-a-fails-with-single-table-inheritance-in-rails-3
--
Posted via http://www.ruby-forum.com/.
--
You receive
Personally I agree with Brynjolfur.
I have 20+ years experience in coding of one sort or another - but not
much on object oriented stuff like rails.
I've been working through the Rails Tutorial and while it makes plenty
of sense - and the examples work if followed perfectly - any deviation
and it f
Would have to agree with Colin, I'm a newbie (I've only been working with
Ruby on Rails for about 7 weeks now) using Rspec.
I learned the basics of testing using Hartl's tutorial, which does a solid
job of helping you understand how it should be framed and connected to an
overall project. It's help
Hey Bingo Bob.
- Read Mike Hartl's -- Chapter 10 & 11 in the 3.2 version here
http://ruby.railstutorial.org/chapters/user-microposts?version=3.2#top
- Also checkout the Ruby on Rails -- Active Record association guide
section here http://guides.rubyonrails.org/association_basics.html
No apologies for the punny title!
Anyway, here's the thing. I know what I want to do but not sure of the
right way to model it.
So far I have this in place.
User
has_many :names
User.username User.email
Name
belongs_to :user
Name.given Name.gender Name.user_id
So basically a User has a lis
I work at Expected Behavior, and we have a SaaS application called
DocRaptor that can create PDF files from HTML.
There's no need to install anything with our service, and it's easy to
include in your own Rails applications.
Here's a link to DocRaptor's home page:
http://docraptor.com/
And a li
On Tuesday, March 20, 2012 1:54:25 AM UTC-3, Ruby-Forum.com User wrote:
>
> Hey all,
>
> I'm trying to learn RoR with absolutely no programming experience
> following the ruby on rails essentials tutorial on lynda.com. I'm still
> very early in the video series and I created a new project using the
Thank you very much for your help Walter!
That has solved it and I have hopefully learnt something very useful :)
--
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 post to this group, send ema
On Mar 20, 2012, at 11:44 AM, Graham Dawe wrote:
>> <% for post in @posts %>
>>
>> <%= image_tag(post.assets.first.url(:thumb)) %>
>>
>> ...whatever else you show in the index about each post
>>
>> <% end %>
>>
>> The key thing here is that post.assets is a collection of all related
>> assets
> <% for post in @posts %>
>
> <%= image_tag(post.assets.first.url(:thumb)) %>
>
> ...whatever else you show in the index about each post
>
> <% end %>
>
> The key thing here is that post.assets is a collection of all related
> assets.
>
> Walter
Thanks for your reply Walter. I have tried what
On Mar 20, 2012, at 9:45 AM, Graham Dawe wrote:
> Hi,
>
> I am working on a project that is using Paperclip to upload multiple
> images to an Asset model. my Post model has_many Assets. As per this
> tutorial/screencast...
>
> https://github.com/Emerson/Multiple-File-Uploads-with-Paperclip-and-
Yes, have you installed it using rails installer?
or something else?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
r
Javier Quarite wrote in post #1052402:
> Have you add mysql gem?
> (maybe you have added it but just in case )
>
>
> Javier
I'm pretty sure I did, "gem install mysql", correct?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Group
Hi,
I am working on a project that is using Paperclip to upload multiple
images to an Asset model. my Post model has_many Assets. As per this
tutorial/screencast...
https://github.com/Emerson/Multiple-File-Uploads-with-Paperclip-and-Rails-3/blob/master/app/views/posts/show.html.erb";>
http://www
Where did you put the file?
Bruno Coelho Santiago
On Tue, Mar 20, 2012 at 6:19 AM, Daisy Di wrote:
> ranjan kumar wrote in post #1052406:
> > you can find wkhtmltopdf here http://code.google.com/p/wkhtmltopdf/
>
> i download wkhtmltopdf-0.9.9-installer.exe and install it, but still
> doesnt
On 20 March 2012 09:41, Brynjolfur Thorvardsson wrote:
> Well, that had to come!
Of course.
>Of course testing is vital, but when learning the basics of programming it
>simply gets in the way. First be comfortable with the language and system,
>then add testing.
>
> This obviously refers to th
Here i do like this
**
*$(document).ready(function () {*
* $("#da").bind('submit',function() {*
**
*$(".checked4").hide();*
*$(".checked3").show();*
* }); *
*});*
**
*
*
* <%= submit_tag "Get", :id => "da", :class => "btn btn-large btn-primary"
Well, that had to come! Of course testing is vital, but when learning the
basics of programming it simply gets in the way. First be comfortable with the
language and system, then add testing.
This obviously refers to the integrated testing as used in much Rails
development, and for good reason.
On 20 March 2012 07:44, Dharmdip Rathod wrote:
> HiAll,
>
> Here is strange problem.
>
> Application is on cloud server. Database server is on another instance
> and application hosted on different instance.
>
> databse server ip : 170.2.14.131
> application server ip : 170.2.14.137
>
> developmen
On 20 March 2012 06:08, Brynjolfur Thorvardsson wrote:
> Hi, you could also try following this book:
>
> http://ruby.railstutorial.org/chapters/rails-3-1
>
> Given your minimal knowledge of programming, it's probably best if you skip
> all the testing parts (which take up more than half) and conc
ranjan kumar wrote in post #1052406:
> you can find wkhtmltopdf here http://code.google.com/p/wkhtmltopdf/
i download wkhtmltopdf-0.9.9-installer.exe and install it, but still
doesnt work.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed t
I'm using
Rails - 2.2.2
gcal4ruby (0.2.6)
I'm using google calendar to display events for users in my website.
Till 18-march-2012 everything was working fine. But now whenever user
add events to the calendar it show only busy in the calendar.
My code is
def add_event
user_id = curre
at least, use $().show() or $().hide() instead of setting CSS values
or $().toggle(visible?) where visible is true/false
tom
On Mar 20, 2012, at 9:25 , amvis wrote:
> Thanks tom, Here the submission happens, but the other will'not show.. I
> just give like this
>
>
> $(document).ready(funct
Hi There,
I got this Problem:
OAuthProvider <-> Rails WebApp <-> iOS App
With omniauth the part between "OAuthProvider" and "Rails WebApp"
seems to be really easy.
But how about authentication for the iOS App. Is there a way to "pass
through" authentication so that I could authenticate the iOS
Thanks tom, Here the submission happens, but the other will'not show.. I
just give like this
**
*$(document).ready(function () {*
* $("#da").bind('submit',function() {*
*//$(".original").fadeOut(300, function() {*
* *
*$(".checked4").css("display", "none");*
*
change event from click() to onSubmit
$('#da').bind('submit', function() ...
tom
On Mar 20, 2012, at 5:45 , amvis wrote:
>
> <%= form_tag( { :controller => 'businesses', :action => 'create' }, { :id =>
>'myform',:class => 'form-inline offset3', :method => 'post'}) do %>
> <%= text_f
HiAll,
Here is strange problem.
Application is on cloud server. Database server is on another instance
and application hosted on different instance.
databse server ip : 170.2.14.131
application server ip : 170.2.14.137
development:
adapter: mysql
database: database_name
username:
Thanks Murali.
Console Error was ellaborated but never struck me to change the path and
run the command.
Regards,
Gaurav Kanyalkar
--
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 post to th
37 matches
Mail list logo