Hi,
You said, in response to Colin's question, that you wanted to send it to
lpt1 port on the server. Now you're saying that it is to be sent to the
lpt1 port on the client?
This would not be possible via HTTP, the server cannot take control of the
client. The best you could achieve (IMHO)
You said, in response to Colin's question, that you wanted to send it to
lpt1 port on the server. Now you're saying that it is to be sent to the
lpt1 port on the client?
You never said that, I misread it - lol, sorry.
Steve
On Wednesday, 5 September 2012 10:00:27 UTC+1, sjm wrote:
Hi,
I agree..
Am Ashokkumar, RoR developer.
I started rails programming for my past 4months.
I think we both are the right pair to start learning.
All is well !!
On Tue, Sep 4, 2012 at 7:03 AM, Tima timaki...@gmail.com wrote:
Hi everyone! I'm a newbie engineer.
I started rails programming, but
On Tuesday, 4 September 2012 07:15:28 UTC-4, Ruby-Forum.com User wrote:
Thanks, but i want send text file from server to client (lpt1 port),
it's possible?
This seems to come up every couple months - check out this thread from
January for some discussion:
Hello,
I have now Rails Enterprise Edition installed on Centos 6.
And I try to follow this tutorial :
http://guides.rubyonrails.org/getting_started.html
I have this model :
class Post ActiveRecord::Base
attr_accessible :content, :name, :title
validates :name, :presence = true
It's just .full_messagesnot.full.messages
:) :) :) :) :) :)
On 5 September 2012 17:09, roelof rwob...@hotmail.com wrote:
Hello,
I have now Rails Enterprise Edition installed on Centos 6.
And I try to follow this tutorial :
http://guides.rubyonrails.org/getting_started.html
I have
Hi All,
I need your help on some error message that I am getting. I am working
on cucumber with selenium to automate my application.
Now I am supposed to connect to a database and fetch value from there.
Since I am new to database connectivity stuff so please excuse me for my
silly mistake if
Thanks, stupid mistake at my site.
Op woensdag 5 september 2012 13:39:48 UTC+2 schreef roelof het volgende:
Hello,
I have now Rails Enterprise Edition installed on Centos 6.
And I try to follow this tutorial :
http://guides.rubyonrails.org/getting_started.html
I have this model :
Hi,
I am a newby. What is the best forum for some very small questions?
Thanks!
--
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 email to
Hi,
I am a newbie to rails. What is the best forum for small questions?
Thanks,
Derek
--
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 email to
On Sep 5, 2012, at 9:41 AM, Derek Lin wrote:
Hi,
I am a newbie to rails. What is the best forum for small questions?
We are all, to varying degrees, newbies at some aspect of this or another. Ask
away, don't be shy!
It's best if you follow the rules for good questions: single topic,
Thanks, Thomas. I didn't know about the additional switches on the
relationships. Now that I have the relationship formed I still don't
understand what I need to use to extract it from the joined tables. Here is
a better idea of what I have:
User Model
has_many :task, :through = :task_owner
Nevermind ... I figured it out. I was stopping too short into the methods.
Instead of mytasks.title I should have been using mytasks.task.title
This dug down in the the linked/joined table just fine.
-Brian
On Monday, August 27, 2012 1:39:04 PM UTC-5, Brian Ekmark wrote:
Greetings --
I'm slightly new at Rails, so any help would be appreciated!
I have two models that have no association with each other (but they would
probably be many-to-many). One is called 'Course' and contains seed data of
Golf Courses. The other is called 'Player' and contains user entered
information.
So I have been struggling with an issue for a while now and seem to be
getting nowhere...
The problem exists while I am looping through a hash, around the 3rd level
deep.
So my code looks a little like:
request[:items][:location_item].each do |locaton_item|
pp location_item[:name]
Use 'ransack' method for a ransack search
[examplehttp://stackoverflow.com/a/10421755/820520].
This should solve all your problems.
Regards,
Anton
вторник, 4 сентября 2012 г., 20:07:36 UTC+4 пользователь Walter Lee Davis
написал:
I have Ransack set up to do simple attribute-based search in
I'm trying to configure mysql2 with rails 3 in* windows*, but when I do
rake db:create I got an error : Incorrect MySql client library version
Any help?
Thanks!!
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group,
Hello All,
does anyone know if there is an automated way to install ruby on rails and
some of my own gems in an executable or some sort of installation wizard.
thanks in advance.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
Hello all,
I have been using ror for a while and I really like the it. All of the past
projects have been web-based applications. I an tasked to build a new
product that is installed on the premise (on a customer's server) and I am
thinking of using ror for it instead of java.
- Has
There is this website that allows you to solve problems with programming
languages ( http://www.codechef.com/ ) , one suggestion is to pick
a challenge and use ruby to solve it.
On Sunday, September 2, 2012 8:17:54 AM UTC, ACK wrote:
hi i m just curious to know will framework will improve
I have, `Transaction.has_many :splits` and Split has an amount:integer
attribute. I'd like to ensure `transaction.splits = [split1, split2, ...]`
the sum of split1.amount + split2.amount + ... == 0. It seems that
:before_add deals with the splits one by one whereas what I'd like is to
check
Interested to know which direction you went in since I'm working on this
issue now.
thanks.
On Sunday, March 25, 2012 4:52:10 AM UTC-4, pavlos kallis wrote:
I would like to create a web application that has two types of users,
producer and consumer.
Both users have three fields in common :
I've setup two models, 1 and 2, that are associated by
has_and_belongs_to_many. I'm trying to get an attribute from model_1 to use
in a method in model_2. When I use the code below, I get an error saying
'undefined method model_1_id'. What am I missing? Thanks!
Model_2.rb
Class Model_2
On Sep 5, 2012, at 7:05 AM, antonk wrote:
Use 'ransack' method for a ransack search [example]. This should solve all
your problems.
Nice find -- this is exactly what I needed!
Walter
Regards,
Anton
вторник, 4 сентября 2012 г., 20:07:36 UTC+4 пользователь Walter Lee Davis
написал:
On Tue, Sep 4, 2012 at 9:53 AM, sacshu sac...@gmail.com wrote:
When I use the code below, I get an error saying
'undefined method model_1_id'. What am I missing? Thanks!
Class Model_2 ActiveRecord::Base
...
has_and_belongs_to_many :model_1
def some_method
attr_a *
thanks
On Wed, Sep 5, 2012 at 2:45 AM, rubyiscool haidar.h...@gmail.com wrote:
There is this website that allows you to solve problems with programming
languages ( http://www.codechef.com/ ) , one suggestion is to pick
a challenge and use ruby to solve it.
On Sunday, September 2, 2012
I agree also. It seems that there are also overlapping issues that go together
with Rails programming. I would like to be able to be great at Ruby
programming too. I picked up a book on “Scripting Intelligence” and while the
author speaks of doing things in Rails, there is so much Ruby
Image I have this model:
Class Post ActiveRecord::Base
validates_presence_of :date
validates_presence_of :title
validates_presence_of :text
end
But now I want to do the same as this page :
http://www.tamarawobben.nl/dagboek/2005/09/2/
So text a image and the rest of the text.
That's strange °_° In my app it fails:
.F.
Failures:
1) SessionsController POST to 'login' returns http success
Failure/Error: post '/login'
ActionController::RoutingError:
No route matches
Well that's kind of what I need help with, I'm not sure where it needs
to be defined in a many-to-many relationship. I've already created the
join table that contains both ids.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
On Wed, Sep 5, 2012 at 12:38 PM, roelof rwob...@hotmail.com wrote:
Must I made for every post a seperate layout which will contain the image of
the page if there is a image on that page or is there a better way.
Think about it: do you need a separate layout for each page because
it has
On Wed, Sep 5, 2012 at 1:00 PM, Sa S. li...@ruby-forum.com wrote:
Well that's kind of what I need help with, I'm not sure where it needs
to be defined in a many-to-many relationship. I've already created the
join table that contains both ids.
The point is that your example makes no sense;
Hassan Schroeder wrote in post #1074840:
On Wed, Sep 5, 2012 at 1:00 PM, Sa S. li...@ruby-forum.com wrote:
Well that's kind of what I need help with, I'm not sure where it needs
to be defined in a many-to-many relationship. I've already created the
join table that contains both ids.
The
On Wed, Sep 5, 2012 at 1:14 PM, Sa S. li...@ruby-forum.com wrote:
Sorry, I should clarify. In my Model_2 view, I'm trying to simply have a
table that iterates through all the model_1's and calculates that method
above using the model_1's attribute that I need
But you're not showing us a view,
Op woensdag 5 september 2012 22:03:28 UTC+2 schreef Hassan Schroeder het
volgende:
On Wed, Sep 5, 2012 at 12:38 PM, roelof rwo...@hotmail.com javascript:
wrote:
Must I made for every post a seperate layout which will contain the
image of
the page if there is a image on that page or
On Wed, Sep 5, 2012 at 1:45 PM, roelof rwob...@hotmail.com wrote:
But as far as I know I cannot insert a image at a particular place.
What exactly do you mean by at a particular place?
--
Hassan Schroeder hassan.schroe...@gmail.com
http://about.me/hassanschroeder
Quoting sacshu sac...@gmail.com:
I'm slightly new at Rails, so any help would be appreciated!
I have two models that have no association with each other (but they would
probably be many-to-many). One is called 'Course' and contains seed data of
Golf Courses. The other is called 'Player'
On Tuesday, September 4, 2012 12:56:05 AM UTC+1, Ruby-Forum.com User wrote:
But this will load the login action and not the login_create! After a
lot of searching and trying, I've wrote:
post :login_create
... And it works as expected. However, after that I've tried:
get
Frederick Cheung wrote in post #1074851:
On Tuesday, September 4, 2012 12:56:05 AM UTC+1, Ruby-Forum.com User
wrote:
Controller specs bypass your routes entirely (as part as action invocation
goes, they're still used if you try to generate a url inside the
action).
If you do
get
On Wed, Sep 5, 2012 at 9:25 AM, Derek Lin li...@ruby-forum.com wrote:
I am a newby. What is the best forum for some very small questions?
As Madge used to say, You're soaking in it! ;-) Ask away
-Dave
--
Dave Aronson, Available Secret-Cleared Ruby/Rails Freelancer (VA/DC/Remote);
see
module ActionView
module Helpers
module FormHelper
def form_for(foo, bar)
instantiate_builder(foo, bar)
end
def instantiate_builder(foo,bar)
self
end
end
end
end
self in instantiate_builder refers to
ActionView::Helpers::FormHelper. self it
Sorry, my tests were inside an integration('request') test:
/spec/requests/dog_pages_spec.rb
In my rails tutorial book, it says that inside a controller test, you
can't use urls at all, e.g
get '/about'
get '/'
...you can only do:
get 'actionA'
get 'actionB'
--
Posted via
I was looking in the Rails source code, and during the call to
form_for, it creates a new instance of FormBuilder and during the
initialization, it checks if the options hash contains an index:
@default_options = @options ? @options.slice(:index, :namespace) :
{}
When will the options hash
Op woensdag 5 september 2012 22:55:03 UTC+2 schreef Hassan Schroeder het
volgende:
On Wed, Sep 5, 2012 at 1:45 PM, roelof rwo...@hotmail.com javascript:
wrote:
But as far as I know I cannot insert a image at a particular place.
What exactly do you mean by at a particular place?
--
I looked in ruby documentation
http://www.ruby-doc.org/core-1.9.3/Regexp.html
I cannot find a method called pre_match but its used in Rails...
@template.instance_variable_get(@#{Regexp.last_match.pre_match})
--
You received this message because you are subscribed to the Google Groups Ruby
on
Hi,
What will be the query that runs for above association ?
Thank You,
Uma Mahesh.
On Wednesday, September 5, 2012 9:57:37 PM UTC+5:30, Brian Ekmark wrote:
Nevermind ... I figured it out. I was stopping too short into the methods.
Instead of mytasks.title I should have been using
46 matches
Mail list logo