*Microsoft Visual Studio 2010 Ultimate With Serial (New Update)*
http://rapidlinks007.blogspot.com/2010/05/microsoft-visual-studio-2010-ultimate.html
http://rapidlinks007.blogspot.com
thanks
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
*Visual Studio 2010 and NET Framework 4 Training Course
http://rapidlinks007.blogspot.com/2010/05/visual-studio-2010-and-net-framework-4.html
*
*http://rapidlinks007.blogspot.com* http://rapidlinks007.blogspot.com
thanks
--
You received this message because you are subscribed to the Google
On 20 May 2010 16:59, Sharagoz shara...@gmail.com wrote:
On May 20, 4:13 pm, Michael Pavling pavl...@gmail.com wrote:
You need to iterate over a's bs [1] collection, and return the related
cs.
I don't think that is necessary. It should be possible to get the data
in a single sql query.
@cs
On 20 May 2010 23:37, Ravi Dtv li...@ruby-forum.com wrote:
...
Can you please solve this error for me
undefined method `each' for 4:Fixnum
I am sure you can work it out for yourself. Look at the line of code
that generates the error, presumably there is a call to 'each' there.
The error says
When i do this:
validates_presence_of :name, :email, :message = Can't be blank
and use the error_message_on method in my view, i get the same
message for both name and email fields - Can't be blank.
How do i specify a different message for each attribute without having
to write a custom
Ruby 1.8.7 (2010-01-10 patch level 249)
Rails 2.3.5
mySQl 5.1
I am trying to build a very simple application accessing a single
table in mySQL.
Have updated database.yml. The listing view is ok. But when I am
trying to add a record, I am getting Segmentaion fault at
different .rb file each time.
On May 21, 12:15 am, vfr292 vfr...@gmail.com wrote:
Hi,
Well, I have have continued to work on this, but with no luck.
The error pops up for every test I run for every model and controller
(not just the test1 model).
What does your test case look like ? It looks like you're writing a
On May 21, 2:23 am, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Ralph Shnelvar wrote:
Marnen Laibow-Koser wrote:
I have no idea how to have the server sit on an unfulfilled Ajax (or any
other) request.
Good. You don't want to.
What you may be looking for is Comet (essentially
I just started using Prawn. It's in alpha but it's already pretty
usefull. Table lay-outs neatly reproduce themselves over multiple
pages with repeating headers. And that just in 1 line of code!!!
Jan
On May 21, 12:54 am, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Jeremy Cowgar wrote:
Did you ever get this working? I'm having the exact same issue.
--
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 rubyonrails-t...@googlegroups.com.
To
Probably. Push is hard to impossible with Web technologies, unless you
use Java or maybe Flash. But you can certainly poll for updates with
Ajax, which is no different on the server side than just hitting
reload repeatedly in the browser.
I had this idea ... tell me what's wrong with it.
Hi,
I have a rails webapp and lately one of the mongrel process gets stuck
in close_wait state and my app stops responding and needs a restart. I
have a apache in front of mongrel processes and the close wait state on
connection seems to be on localhost only (My guess is it is apache).
Any help
Switched from REXML to nokogiri. Any solution at this point is purely
academic...
--
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 20 May 2010 13:38, egervari ken.egerv...@gmail.com wrote:
To the OP: you think an underscore looks like an *operator*? What
operator does it look like? What are you in danger of confusing it
with?
Part of the problem for me is that I really can't see well. this-that
and this_that kind
On 21 May 2010 09:58, Michael Pavling pavl...@gmail.com wrote:
TFF
TTF silly fingers :-/
--
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-t...@googlegroups.com.
To unsubscribe from this
Hi guys,
How can we check *type* field in addition of *login* and *password*
fields, before saving a new UserSession with Authlogic?
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
On a Mac running Snow Leopard, the Rails version was 2.3.5 (by using
rails -v)
and then I used gem install to install about 20 things, and maybe there
was a line on the instructions that was there in the past that says
gem install rails -v=1.3.5
and I ran it anyways, thinking that maybe
On May 21, 2:49 am, Simon Che li...@ruby-forum.com wrote:
Hey all!
I just created my first RoR project (following this
guidehttp://wiki.rubyonrails.org/start), and I had some trouble getting
everything to work under apache with passenger. After some debugging I
found out I simply didn't
On May 21, 10:44 am, Jian Lin li...@ruby-forum.com wrote:
On a Mac running Snow Leopard, the Rails version was 2.3.5 (by using
rails -v)
and then I used gem install to install about 20 things, and maybe there
was a line on the instructions that was there in the past that says
gem
i used the bellow code to collect the lyrics which are related to
particular album and display under the album name.
Lyric.find(:all,:select='DISTINCT
album_name,title,id,singers',:conditions= [album_name LIKE ?,
params[:id] + %])
But the above sql query is not works for me
the below query is
Hi guys, a noob in rails here
I did some searching on the net about how to send email to diffrent
domain adresses like google, yahoo and stuff..and the guides that i
found were a bit more confusing.
for example at this adress http://guides.rails.info/action_mailer_basics.html
the last two
Hi guys, a noob in rails here
I did some searching on the net about how to send email to diffrent
domain adresses like google, yahoo and stuff..and the guides that i
found were a bit more confusing.
for example at this adress http://guides.rails.info/action_mailer_basics.html
the last two
Hi guys, a noob in rails here
I did some searching on the net about how to send email to diffrent
domain adresses like google, yahoo and stuff..and the guides that i
found were a bit more confusing.
for example at this adress http://guides.rails.info/action_mailer_basics.html
the last two
Hi,
I know how to get a .html file and writing contents into a file in the
server.
eg.
doc = Nokogiri::HTML(open(http://projectmadurai.org;).read)
my_file = File.new(pm.html, w)
my_file.puts doc.inner_html
my_file.close
I want to download a .pdf file
On May 21, 11:32 am, nirosh kunalan.kand...@gmail.com wrote:
i used the bellow code to collect the lyrics which are related to
particular album and display under the album name.
Lyric.find(:all,:select='DISTINCT
album_name,title,id,singers',:conditions= [album_name LIKE ?,
params[:id] +
Thanks Rob!!! It worked PERFECTLY. Thanks again for you help!
--
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 rubyonrails-t...@googlegroups.com.
To unsubscribe
Quoting Ravi Dtv li...@ruby-forum.com:
undefined method `each' for 4:Fixnum
How can I solve this error.
What are you trying to do? 'each' is usually applied to an array, a hash, or
a range. It doesn't make sense for a Fixnum. Do you want
irb(main):001:0 4.times{|i| puts i}
0
1
2
3
=
[Apologies for cross-posting]
Hi everybody,
I am part of the Spatial Information Systems Group in University
College Dublin.
Our goal is to collect first-hand knowledge about a number of Open-
Source projects active on the Internet. With this work we hope to
identify strong and weak points of
You'll have to separate you attributes:
validates_presence_of :name, :message = Your name error here
validates_presence_of :email, :message = Your e-mail error here
On May 20, 3:32 pm, Marcelo marcel...@gmail.com wrote:
When i do this:
validates_presence_of :name, :email, :message = Can't be
HI ,
First you need to decide how you want to send emails from a rails app
or what options are available.
1. Sendmail : Its a program or application which handles mail
delivery.
2. SMPT Server: Either you can set up your own or use third party
service like (gmail/yahoo etc)
Check this link :
Hey,
where exactly are these methods defined? I'd like to use alias_method
to set some parameters before calling the original methods.
Cheers,
Szymon
--
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
yes works great the query now i use is SELECT * FROM lyrics WHERE
movie_name like 'a%' GROUP BY Movie_name
--
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-t...@googlegroups.com.
To
Frederick Cheung wrote:
On May 21, 2:49�am, Simon Che li...@ruby-forum.com wrote:
Hey all!
I just created my first RoR project (following this
guidehttp://wiki.rubyonrails.org/start), and I had some trouble getting
everything to work under apache with passenger. After some debugging I
On 21 Maj, 00:19, Hassan Schroeder hassan.schroe...@gmail.com wrote:
On Thu, May 20, 2010 at 2:46 PM, Smok mariusz_waszc...@tlen.pl wrote:
I need to create in RoR 2.3.5 alistof questions ( the number of
questions will be changing). The answers will be near to each of the
these questions in
Ralph Shnelvar wrote:
(2) The client issues an asynchronous request (perhaps, an XHR) which
gets fulfilled when the server detects that there has been a change in
some player's data.
Impossible. That means the server will block till it has new data, which
means the client will be
Hello
I have the three database models: seller, client and account. A
seller may have many clients and many accounts, but I would like to
add the constraint that given a seller and a client, only one account
may exist between them.
Is there a way to express this contraint using ActiveRecord
Hi, I missed on line in the second block of code:
def update_user_points_and_votes_count(vote, factor)
content_clazz = Kernel.const_get(vote.voteable_type)
#missing
content = content_clazz.fin(vode.voteable_id)
content.vote_count +=1*factor
content.save!
...
Hi, I missed on line in the second block of code:
def update_user_points_and_votes_count(vote, factor)
content_clazz = Kernel.const_get(vote.voteable_type)
#missing
content = content_clazz.fin(vode.voteable_id)
content.vote_count +=1*factor
content.save!
...
andre...@gmail.com wrote:
Hello
I have the three database models: seller, client and account. A
seller may have many clients and many accounts, but I would like to
add the constraint that given a seller and a client, only one account
may exist between them.
Is there a way to express this
Smok wrote:
On 21 Maj, 00:19, Hassan Schroeder hassan.schroe...@gmail.com wrote:
need JavaScript to submit it and process the data?
Or am I misunderstanding your goal?
--
Hassan Schroeder hassan.schroe...@gmail.com
twitter: @hassan
Thanks Hassan for your answer.
On Fri, May 21, 2010 at 8:25 AM, Marnen Laibow-Koser
li...@ruby-forum.com wrote:
No, first learn about HTML form syntax (hint: the name attribute is
significant here)
Heh. Beat me by a minute :-)
I was going to suggest that the OP has apparently never read this
rails mentors has not provided any leads to work with someone
id like to reopen the question again:
are there any example sites on github to study as best practices?
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group,
Hello all:
I am writing on behalf of Nanos Research, a premier market and public
opinion research organization located in Toronto, ON. You can find
more information about our company at http://www.nanosresearch.com.
Using quantitative and qualitative research as well as eConsultation
strategies,
I think that this http://github.com/assaf/ruby-in-practice can help you.
Greetings.
2010/5/21 dan mr.dan.ma...@gmail.com
rails mentors has not provided any leads to work with someone
id like to reopen the question again:
are there any example sites on github to study as best practices?
--
I am trying to setup a sigup form thats pretty much just like the
basecamp form. https://signup.37signals.com/basecamp/Plus/signup/new
I want to create
a User
a Studio
and a Subscription(chargify)
a Subscription belongs to a Studio and not to a User. User gets tagged
onto a Studio via an admin
Hi
I am trying to set title attribute for the text filed inside a form
using rails.
I tried
%= f.text_field :email , :class = autoclear,:title = title %/
p
but it did not work
I want it to produce this HTML
input type=text title=title size=30 name=user[email]
id=user_email class=autoclear
--
On May 21, 12:20 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Yes -- validates_uniqueness_of will do the trick -- but never rely
solely on ActiveRecord constraints. You need a unique index (and
foreign key constraints) on the DB side too.
I am already using the validations and key
On May 21, 4:56 pm, Mohammed Alenazi vb4...@gmail.com wrote:
Hi
I am trying to set title attribute for the text filed inside a form
using rails.
I tried
%= f.text_field :email , :class = autoclear,:title = title %/
p
but it did not work
I want it to produce this HTML
What did it
I got the solution
simple put the line
require 'test/unit' in that file as first line... :)
--
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
Is there any freeware anybody would recommend for showing database
models and how they relate to each other? I'm picking up an app
another developer left in a mess and I'm trying to sort it out.
Diagrams would be a great help.
Suggestions?
--
You received this message because you are
On 21 May 2010 21:11, sso strongsilent...@gmail.com wrote:
Hi
Is there any freeware anybody would recommend for showing database
models and how they relate to each other? I'm picking up an app
another developer left in a mess and I'm trying to sort it out.
Diagrams would be a great help.
I second that - railroad rocks - it's basically automatic
On May 21, 3:33 pm, Michael Pavling pavl...@gmail.com wrote:
On 21 May 2010 21:11, sso strongsilent...@gmail.com wrote:
Hi
Is there any freeware anybody would recommend for showing database
models and how they relate to each other?
Michael Pavling wrote:
On 21 May 2010 21:11, sso strongsilent...@gmail.com wrote:
Hi
Is there any freeware anybody would recommend for showing database
models and how they relate to each other? �I'm picking up an app
another developer left in a mess and I'm trying to sort it out.
Diagrams
On 21 May 2010 15:49, andre...@gmail.com andre.nat...@gmail.com wrote:
Hello
I have the three database models: seller, client and account. A
seller may have many clients and many accounts, but I would like to
add the constraint that given a seller and a client, only one account
may exist
On 21 May 2010 21:52, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Michael Pavling wrote:
http://railroad.rubyforge.org/
I had thought Railroad was abandoned and didn't work with recent
versions of Rails, but I hope I'm wrong -- it's a great tool.
It worked for me this morning with 2.3.5
Szymon Nowak wrote:
Hey,
where exactly are these methods defined? I'd like to use alias_method
to set some parameters before calling the original methods.
They're defined by the map.resources calls in routes.rb. You could
probably alias them anytime after that file is executed...but why?
I have an index page showing a table of network hosts with IP
addresses, roles, hostname etc. Is it trivial to render that page to
the browser as a csv file instead of html and link to that rendering
on the index page? How is that done? Is there a nice rails csv
rendering for dummies page?
I want to set a route :requirements on an array that verifies a
particular parameter is included in an array.
Something to the effect of:
pre
atypes = [:culture, :personality, :communication]
map.with_options(:path_prefix = ':atype',
:requirements = {:atype = atypes.include?(:atype)}) do
Hi, I am trying to implement openid authentication using authlogic. I
have installed the open_id_authentication in the process but when I
entered
rake open_id_authentication:db:create --trace
I get the following error
(in /Users/felix/login)
rake aborted!
Don't know how to build task
Hi,
I am Jean-christophe Kermagoret from SIDE-Labs.
SIDE-Labs, founded by BlueXML, is an open source project which created a
sustainable IDE, SIDE, based on MDA (Model Driven Architecture), to
quickly develop sustainable software application. Moreover, thanks to
the use of models, development
On May 21, 2010, at 3:13 PM, Chris Kilmer wrote:
I want to set a route :requirements on an array that verifies a
particular parameter is included in an array.
Something to the effect of:
pre
atypes = [:culture, :personality, :communication]
map.with_options(:path_prefix = ':atype',
it ignores the :title for some reason
input type=text size=30 name=user[email]
id=user_email class=autoclear
On May 21, 8:12 pm, Frederick Cheung frederick.che...@gmail.com
wrote:
On May 21, 4:56 pm, Mohammed Alenazi vb4...@gmail.com wrote:
Hi
I am trying to set title attribute for the text
You've got something mucking with your output. Maybe a plugin or a form
builder? On a clean Rails 2.3.5 app with the following view
% @foo = Foo.new %
% form_for @foo do |f| %
%= f.text_field :name, :title = 'my title' %
% end %
... gives me this...
input id=foo_name name=foo[name]
Hello, I am very ill and I don't remember how does map.root.
I have this in the routes.rb:
ruby code
ActionController::Routing::Routes.draw do |map|
map.signup 'signup', :controller = 'users', :action = 'new'
map.logout 'logout', :controller = 'sessions', :action = 'destroy'
map.login
Hello guys, here I am back with another problem
I want to run postgresql as db and I guess I installed all the required
gems
gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.0.beta3, 2.3.5)
actionpack (3.0.0.beta3, 2.3.5)
activemodel (3.0.0.beta3)
activerecord (3.0.0.beta3,
Is there a simple example of me issuing an XMLHttpRequest and a rails
app responding ... without all the Prototype overhead.
All I want to do is send an XHR and have the Rails app deliver an XML
document back.
I have searched ... Does anyone nkow of a decent example?
--
Posted via
Ralph Shnelvar wrote:
Is there a simple example of me issuing an XMLHttpRequest and a rails
app responding ... without all the Prototype overhead.
What are you considering overhead? XHR *is* fundamentally a JavaScript
function...
All I want to do is send an XHR and have the Rails app
Hi Ralph,
On Fri, May 21, 2010 at 7:09 PM, Ralph Shnelvar li...@ruby-forum.comwrote:
Is there a simple example of me issuing an XMLHttpRequest and a rails
app responding ... without all the Prototype overhead.
All I want to do is send an XHR and have the Rails app deliver an XML
document
On Fri, May 21, 2010 at 6:57 PM, Siva Kilaru li...@ruby-forum.com wrote:
Hello guys, here I am back with another problem
I want to run postgresql as db and I guess I installed all the required
gems
Not according to the error message ;-)
Here is the runtime error I got after starting the
Bill Walton wrote:
Hi Ralph,
Each helper will generate the appropriate Ajax request, using Prototype
as a
default. Rails does the coding for you. Check back if you have
questions
specific to one of those once you decide which is most appropriate for
your
situation.
Ok ...
I need
Hi Ralph,
On Fri, May 21, 2010 at 8:27 PM, Ralph Shnelvar li...@ruby-forum.comwrote:
I need to do polling of the server.
Then use the periodically_call_remote helper
The polling will happen out of jQuery ...
Doesn't really matter which library you're using. The Rails helper will
Bill Walton wrote:
As a first step, try doing as instructed.
gem install activerecord-postgresql-adapter
If that doesn't work check back with more info.
Best regards,
Bill
Yup...I did the same thing but the msg is the gem can't be found in any
repository
So, I am back at the same
Hi,
I just started out learning Ruby on Rails this week. I'm using Michael
Hartl's book, but I'm working on a remote server rather than my local
computer. As such, I'm using Apache + Passenger to deploy the example
programs rather than Mongrel. Also, I'm using MySQL for my database
instead of
Had that problem before too. Sometimes it's a firewall issue. Sometimes
means the code's been moved to github. Google the gem name and see what you
come up with.
HTH,
Bill
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this
On May 22, 12:32 am, Distriker ivanhcelrinconelme...@gmail.com
wrote:
ruby code
class Index ActiveRecord::Base
def Index
end
end
/ruby code
If I put this in my rails project, say me this the localhost:
quote
We're sorry, but something went wrong.
We've been notified about
Hi Frank,
On Fri, May 21, 2010 at 8:45 PM, FrankMurphy sabir.a.ibra...@gmail.comwrote:
I can see the standard 'Welcome aboard!'
page at http://server_addr/demo_app,
Just a swag here, but did you delete public/index.html on the remote
server?
Best regards,
Bill
--
You received this
On May 22, 2:45 am, FrankMurphy sabir.a.ibra...@gmail.com wrote:
In my web root directory, 'demo_app' is a symbolic link to the
application's public directory. I realize that there's nothing in my
web root directory or the above VirtualHost specification that points
to the 'users' resource,
Hi Fred,
On Fri, May 21, 2010 at 9:47 PM, Frederick Cheung
frederick.che...@gmail.com wrote:
On May 22, 2:45 am, FrankMurphy sabir.a.ibra...@gmail.com wrote:
Deploying an app to a sub uri (rather than to the root of your domain)
I missed that. Excellent catch, as always.
Best
On May 21, 2:52 pm, Simon Che li...@ruby-forum.com wrote:
NameVirtualHost 127.0.0.1:3000
Listen 127.0.0.1:3000
VirtualHost 127.0.0.1:3000
DocumentRoot /home/simon/projet-web/blog/public
DirectoryIndex index.html
LogLevel debug
RailsEnv development
Directory
On Fri, May 21, 2010 at 06:45:11PM -0700, FrankMurphy wrote:
For instance, if I create a sample program 'demo_app' and create a 'users'
resource with the command:
$ script/generate scaffold User name:string email:string
and then migrate with the command:
$ rake db:migrate
I can see
On May 22, 2:27 am, Ralph Shnelvar li...@ruby-forum.com wrote:
Bill Walton wrote:
Ok ...
I need to do polling of the server. The polling will happen out of
jQuery ... so there is no UI trigger event as such.
Once I get my results back, I'll use jQuery to manipulate the DOM to
pupulate
Thanks everyone for your replies.
Okay, so this is interesting. When I try deploying the app to the
domain root, I can't see the Welcome aboard! page; instead, I see
the index.html page that's in Apache's web root directory. Also, when
I try http://server_addr/users, I see a directory listing of
82 matches
Mail list logo