not even a single feedback from rails enthusiasts!...mmm..strange
--
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
I'm trying to add original method search to the scaffolded
controller. All the default standard methods in the controller (i.e.
index, show, new, etc..). However, additional method seach is not
recognized as method, and rather rails take the request as parameter
with the following error message.
Hello people,
Are any of you implementing application caching in the browser?
Here is the use-case I am interested in:
End-user-Bob uses his browser to navigate to
the_bob_end_user_crm_app.com
While there he navigates to these URLs:
the_bob_end_user_crm_app.com/accts/show/123
Hello! I can't find a way to have rails not use a database. I just
left my database.yml file as it is. When I run my rails application
that has no models, my browser says that it couldn't connect to a
database. In environment.rb I uncommented the line
config.frameworks -=
[ :active_record,
:conditions = ['body LIKE?' AND 'title LIKE?', %#{search}%]
Try fixing the condition clause to:
:conditions = ['body LIKE ? AND title LIKE ?', %#{search}%, %#
{search}% ]
You are passing an array containing the SQL WHERE clause in a
template. Each '?' is a placeholder for the
On Aug 16, 2:43 am, 刘子嘉 xxmikl.m...@gmail.com wrote:
Sorry...a mistake,I was saying .close the current window without EJS
2009 年 8 16 日 9:41 AM在 刘子嘉 xxmikl.m...@gmail.com 提到:
when using EJS,I have to write in the controller like this:
...
Render :update do |page|
Page.x
End
On Aug 16, 5:25 am, Greg Willits rails-mailing-l...@andreas-s.net
wrote:
I suspect this has been asked 400 times, but Google yields 2-3 rather
complex gymnastics in blogs (and possibly dated), and searching list
archives on ruby-forum proves kinda useless.
Using standard forms, it's fairly
On Aug 16, 4:03 am, orangea adrian.bloo...@gmail.com wrote:
Hello! I can't find a way to have rails not use a database. I just
left my database.yml file as it is. When I run my rails application
that has no models, my browser says that it couldn't connect to a
database. In environment.rb I
last two years i am working on cloud by using amazon
we use Capistrano for deployment.
just one command cap deploy:cold and nothing
else.
On Aug 16, 7:45 am, Jeff Pritchard rails-mailing-l...@andreas-s.net
wrote:
A search of this forum for cloud brought up a pretty anemic and mostly
year or
This looks great, still lacking user accounts? and non US cities,
maybe you could export those from here http://www.geonames.org/ they
have xml dumps. Nice work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
RightScale is good solution but very expensive, a cheaper alternative
is using Scalr (scalr.net)
and they have both a free version (open source) as well as a paid
service (scalr.net being
the paid service, only $50/month + Amazon fees). Both RightScale and
Scalr are considered
cloud management
On Aug 16, 3:36 am, shusseina s.anderson...@gmail.com wrote:
Why is the image the_godfather.jpg not being displayed, considering
the following show view template? Or even when I include the full
absolute path?
p
%= Plot: #...@movie.plot} %
/p
img src=public/images/the_godfather.jpg /
Patrick Aljord wrote:
This looks great, still lacking user accounts? and non US cities,
maybe you could export those from here http://www.geonames.org/ they
have xml dumps. Nice work.
Hurray!. At last I've got one feedback. Thanks a lot Aljord.
This script can be used to serve multiple
On Sat, Aug 15, 2009 at 10:45 PM, AlwaysCharging goodg...@gmail.com wrote:
Why would anyone use ruby over Jruby? I'm admittedly a noob about all
this stuff, but from what I've read jruby seems superior to ruby and
quite a bit faster. What would be the disadvantages of JRuby? I man
it's
I'm developing in Ubuntu, already have installed ImageScience and I'm
getting this error everytime I try to upload a picture:
[paperclip] An error was received while processing:
#Paperclip::NotIdentifiedByImageMagickError: /tmp/
stream20090816-10096-ddupoc-0 is not recognized by the 'identify'
On Sun, Aug 16, 2009 at 1:44 AM, Ricardo Sanchez rsanchez.jayh...@gmail.com
wrote:
RightScale is good solution but very expensive, a cheaper alternative
is using Scalr (scalr.net)
and they have both a free version (open source) as well as a paid
service (scalr.net being
the paid service,
My two cents.
None of the RMagick stuff with attachment_fu would work when I tried
to use JRuby. They said they had something like JMagick? but nobody I
contacted seemed to use photos in their application???
David
On Aug 16, 3:35 am, Conrad Taylor conra...@gmail.com wrote:
On Sat, Aug 15, 2009
Hi Craig,
This should help you get things set up the right way. You will need
your OS X installation DVD to install the Xcode tools, but this works
like a charm:
http://robots.thoughtbot.com/post/159805668/2009-rubyists-guide-to-a-mac-os-x-development
(*scroll down to the Xcode and MySQL
AlwaysCharging wrote:
Why would anyone use ruby over Jruby? I'm admittedly a noob about all
this stuff, but from what I've read jruby seems superior to ruby and
quite a bit faster. What would be the disadvantages of JRuby?
It's Java. This is both an advantage and a disadvantage: you
On Sun, Aug 16, 2009 at 7:29 AM, InventoryTrackers
inventorytrack...@gmail.com wrote:
My two cents.
None of the RMagick stuff with attachment_fu would work when I tried
to use JRuby. They said they had something like JMagick? but nobody I
contacted seemed to use photos in their
On Sun, Aug 16, 2009 at 7:29 AM,
InventoryTrackersinventorytrack...@gmail.com wrote:
My two cents.
None of the RMagick stuff with attachment_fu would work when I tried
to use JRuby. They said they had something like JMagick? but nobody I
contacted seemed to use photos in their application???
As in many cases, if it's difficult to do in Rails, it's probably
wrong. Can you give more detail on why you're generating URLs in a
model rather than in the controller/view that's sending them to the
user?
--Matt Jones
On Aug 15, 9:22 am, ad...@fotocera.com ad...@fotocera.com wrote:
This only
Hi,
I'm using Rails version 2.3.2 but it seems that my fixtures are wrong
and when testing a relation among two models does not appear. I have no
problems executing the application, only with tests.
These are my fixtures:
/* ingresos.yml */
primero:
origen: jack (Cliente)
tipo:
Kilari,
Thanks a lot for help!
I just added the route setting in the order you suggested. It indeed
worked!!
map.resource :products has been added by scaffolding at nearly
beginning of the routes.rb, and I kept adding my own setting after
those without much thinking.. thanks for advice!
On Aug 15, 8:45 pm, Jeff Pritchard rails-mailing-l...@andreas-s.net
wrote:
A search of this forum for cloud brought up a pretty anemic and mostly
year or more old list of stuff. That was a bit of a surprise to me.
I'm interested in getting opinions on the easiest way to deploy a Rails
app
On Aug 15, 4:52 am, Frederick Cheung frederick.che...@gmail.com
wrote:
[...]
Personally though I'd
store unsanitized text in the database and sanitize it when displaying
(having escaped text in the database might make your editing bits
rather more complicated).
Maybe. If you're just using
On Aug 15, 9:46 pm, Audrey A Lee audrey.lee.is...@gmail.com wrote:
Hello people,
Are any of you implementing application caching in the browser?
[...]
I'm looking for demos/tutorials/discussions which would teach me how
to do this.
To the extent that the browser cache doesn't already make
On Aug 16, 7:01 pm, Frederick Cheung frederick.che...@gmail.com
wrote:
p
%= Plot: #...@movie.plot} %
/p
img src=public/images/the_godfather.jpg /
because the document root is public: that path should be /images/
the_god_father.jpg
Too easy, thanks!
I got a free site where you can learn programming and software like
Ruby on
Rails,Asp.Net,C#,HTML,CSS,Java,Javascript,XML,PHP,Dreamweaver,Photoshop,Illustrator,After
Efect,Flash,Sony Vegas,Premiere,Final Cut for free.
http://www.niloyak.com/
There will get everything free.They don’t only provide
more than 3 years experience in Ruby development.
nice to have RACRP(Ruby Association Certified Ruby Programmer) or
CompTIA Instructor+ Certificate.
Apply this job, please goto:
http://jobs.zhaopin.com/P10/CC0005/3329/J902/500/CC000533295J90250042000.htm
Interesting, I didn't even know there was a Ruby certification. Do
you have a link for the Instructor+ certification, I could not find it
at CompTIA's website?
On Aug 17, 12:41 am, Bill itz...@gmail.com wrote:
more than 3 years experience in Ruby development.
nice to have RACRP(Ruby
Frederick Cheung wrote:
On Aug 16, 5:25�am, Greg Willits rails-mailing-l...@andreas-s.net
wrote:
when the form uses a form_remote_tag.
Is there a simple, universal process for this, or does it really take 40
lbs of hacks to accomplish like the blogs all seem to suggest?
It should be
Greg Willits wrote:
I don't understand how to reproduce this same [validation display] process
when the form uses a form_remote_tag.
So far I have something like this...
BTW -- while I've been using Ruby and Rails for about 2 years now (on
top of using other languages for almost 10 years),
When the page loads I can see the image name displayed until it actually
loads. Is that a RoR or Apache/Passenger feature? Can I disable it?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Pål Bergström wrote:
When the page loads I can see the image name displayed until it actually
loads. Is that a RoR or Apache/Passenger feature?
No, that's a browser feature. Most browsers display the alt text for
the image (or the filename if no alt text) as the image loads.
Can I disable
2009/8/16 RVince rvinc...@hotmail.com:
Colin,
THank you. However, in this case, the form doesn't contain the rows,
but actually resides between them, in a separate div if that is at all
possible. After examining this, I am convinced there is no way to
feasibly do it aside from say, a link
Marnen Laibow-Koser wrote:
Pål Bergström wrote:
When the page loads I can see the image name displayed until it actually
loads. Is that a RoR or Apache/Passenger feature?
No, that's a browser feature. Most browsers display the alt text for
the image (or the filename if no alt text) as
On Aug 16, 8:41 pm, orangea adrian.bloo...@gmail.com wrote:
Thanks for responding! Since I am new to rails, could you tell me
where the references are in the config files or initializers that I
should remove? I didn't add any references myself.
Anything that mentions any of the frameworks
Thanks for responding! Since I am new to rails, could you tell me
where the references are in the config files or initializers that I
should remove? I didn't add any references myself. Also, I don't
really need to get rid of active resource or action mailer, but I am
unsure if it is necessary. If
I just genned a test app with 2.3.2 + SQLite3 having a model with an
integer field.
My gosh!! I didn't intend for you to have to go to that extreme. I
do sincerely appreciate your investing the time on my behalf.
I swear that what I reported yesterday was the results I was seeing at
that
On Sun, Aug 16, 2009 at 1:07 PM, djolleyddjol...@gmail.com wrote:
I just genned a test app with 2.3.2 + SQLite3 having a model with an
integer field.
My gosh!! I didn't intend for you to have to go to that extreme. I
do sincerely appreciate your investing the time on my behalf.
NP, 5
Jaime Jimmy wrote:
I think the problem is the client version of libmysql.dll . If ruby is
using libmysql.dll 5.1.X from %PATH% or from ruby\bin you get this
error. The solution is to replace this library with libmysql.dll 5.0.X.
I got mine from php installation and everything start
g_f wrote:
:conditions = ['body LIKE?' AND 'title LIKE?', %#{search}%]
Try fixing the condition clause to:
:conditions = ['body LIKE ? AND title LIKE ?', %#{search}%, %#
{search}% ]
You are passing an array containing the SQL WHERE clause in a
template. Each '?' is a placeholder
how i can include a gem in my application if my hosting server didnt
allow me to install it ?
like imagemagick or will_paginate for example.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On Aug 11, 11:20 am, Phlip phlip2...@gmail.com wrote:
Welcome to the cult. Older sites use older technology because - until 2 years
ago - Rails was a fringe player using an obscure language. Rails now leads the
adoption rate in new projects because it showcase what a fine language Ruby
is.
this is my error:
Processing ApplicationController#create (for 127.0.0.1 at 2009-08-17
00:57:56) [POST]
Parameters: {comment={name=asdasd, body=asdasd},
commit=Add Comment, post_id=19,
authenticity_token=B5dll5fTaDO+ZrEs1S0KkYsmK8VMzCOeDEf731w21zY=,
captcha=asdasd, _=}
SyntaxError
Pål Bergström wrote:
[...]
Hmm, not sure you're right. I never see it otherwise, even on sites that
use the alt attribute.
Perhaps because the images load too fast to see it? Or maybe I'm wrong
and it's the title attribute.
It should be that if an image doesn't load, then
alt would
On Aug 16, 10:35 pm, Philip Gavrilos rails-mailing-l...@andreas-
s.net wrote:
how i can include a gem in my application if my hosting server didnt
allow me to install it ?
like imagemagick or will_paginate for example.
If you specify needed gems in environment.rb (config.gem ... ) then
def create
if simple_captcha_valid?
@post = Post.find(params[:post_id])
@comment = @post.comments.create!(params[:comment])
respond_to do |format|
format.html { redirect_to @post }
format.js
else
flash[:notice] = please right down the image
On Aug 16, 2009, at 3:01 PM, Philip Gavrilos wrote:
this is my error:
Processing ApplicationController#create (for 127.0.0.1 at 2009-08-17
00:57:56) [POST]
Parameters: {comment={name=asdasd, body=asdasd},
commit=Add Comment, post_id=19,
Hi all,
I'm trying to research which plugins are great with handling
mobile/iphone, safari type requests. Is Tank Engine the best thus far?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you
Steve Ross wrote:
On Aug 16, 2009, at 3:01 PM, Philip Gavrilos wrote:
SyntaxError
include SimpleCaptcha::ControllerHelpers
def create
if simple_captcha_valid?
@post = Post.find(params[:post_id])
@comment = @post.comments.create!(params[:comment])
respond_to do |format|
I would say native multi-threading is a huge plus for Jruby as well.
For image processing I believe image-vodoo has been had with much
success in the Jruby world (as well as attachment_fu and rmagick)
One negative for Jruby is if you want to use a gem with a native-C
only extension then you are
Marnen Laibow-Koser wrote:
That is a bad reason to pick JRuby. Anyway, you probably shouldn't be
using Netbeans: it's a good IDE, but not for Rails. It's stupid enough
not to pick up generators properly, and in my experience, it doesn't
integrate all that well with Rails anyway,
Alpha Blue wrote:
[...]
C'mon Marnen,
Don't bash netbeans,
Why not? It doesn't work well with Rails. I do not recommend it for
Rails work, and I make no apologies for that fact.
especially 6.7. The differences from 6.5 to 6.7
are large.
I believe my only experience with NetBeans was
Why go with the same design as craigslist? I posted an ad and the
speed it hit my email was very quick.
-rob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send
I know this isn't really a Rails question but I was hoping someone
here might know. The generator function doesn't seem to work in the
TextMate Rails bundle. I've tried upgrading to version 2.3.0 but that
hasn't made any difference.
Is there some undocumented environment variable that needs to
Yes, why the exact same look ? IMHO the look of craigslist is to
cluttered, and the design is most likely copyrighted.
Looks fast.
Trausti
On Mon, Aug 17, 2009 at 12:34 AM, robrgrann...@yahoo.com wrote:
Why go with the same design as craigslist? I posted an ad and the
speed it hit my email
Trausti Thor Johannsson wrote:
[...]
, and the design is most likely copyrighted.
At least under U.S. law, I seem to recall that designs aren't
copyrightable (certainly fonts are not, which is why font knockoffs are
possible). However, look and feel is coyrightable (or something
similar) in
On Aug 16, 2009, at 3:57 PM, Philip Gavrilos wrote:
Steve Ross wrote:
On Aug 16, 2009, at 3:01 PM, Philip Gavrilos wrote:
SyntaxError
include SimpleCaptcha::ControllerHelpers
def create
if simple_captcha_valid?
@post = Post.find(params[:post_id])
@comment =
On Aug 16, 2009, at 4:18 PM, straightfl...@gmail.com wrote:
I would say native multi-threading is a huge plus for Jruby as well.
Why do you say this? Most request/response cycles are so quick that
they are unlikely to benefit significantly from multithreading. How
huge a win is
On Sun, Aug 16, 2009 at 10:47 PM, s.rosscwdi...@gmail.com wrote:
Why do you say this? Most request/response cycles are so quick that
they are unlikely to benefit significantly from multithreading. How
huge a win is multi-threading in the timespan of ... say ... 30ms?
It's a HUGE win 'cos
Hi,
Does anyone knows any article, post (blog), research that treats about
Performance analysis of Ruby on Rails applications on web servers
implemented on load balancing clusters?
Regards
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You
On Aug 16, 2009, at 6:51 PM, Maurício Linhares wrote:
On Sun, Aug 16, 2009 at 10:47 PM, s.rosscwdi...@gmail.com wrote:
Why do you say this? Most request/response cycles are so quick that
they are unlikely to benefit significantly from multithreading. How
huge a win is multi-threading in
I don't think style is that important, don't like it? Just modify the
CSS and be happy.
--~--~-~--~~~---~--~~
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
Does anyone have any experience creating views using migration files. I
know that I could create the view using execute syntax but I was wondering
if there is a best practice with regards to that?
Thanks,
Jim
--~--~-~--~~~---~--~~
You received this message
Thanks a million for the comments.
rob wrote:
Why go with the same design as craigslist? I posted an ad and the
speed it hit my email was very quick.
-rob
Trausti wrote:
Yes, why the exact same look ? IMHO the look of craigslist is to
cluttered, and the design is most likely copyrighted.
On Sun, Aug 16, 2009 at 2:47 AM, Rails
Listrails-mailing-l...@andreas-s.net wrote:
not even a single feedback from rails enthusiasts!...mmm..strange
Your SEO is not.. optimal.
http://www.google.com/search?q=railslist.com
--
Greg Donald
http://destiney.com/
On Sun, Aug 16, 2009 at 7:07 PM, s.ross cwdi...@gmail.com wrote:
On Aug 16, 2009, at 6:51 PM, Maurício Linhares wrote:
On Sun, Aug 16, 2009 at 10:47 PM, s.rosscwdi...@gmail.com wrote:
Why do you say this? Most request/response cycles are so quick that
they are unlikely to benefit
James Englert wrote:
Does anyone have any experience creating views using migration files.
The rails_sql_views gem should handle that for you, or so say the docs
(I've never used it).
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--
Posted via
Conrad Taylor wrote:
[some very good stuff about threads]
You should try writing a multi-threaded Rails application and see where
it
takes you.
Surely this is putting the cart before the horse. Except for toy
proof-of-concept apps, if I wind up with a multithreaded Rails app, it
won't be
Just starting my first project and wondering what is the proper design
in terms of number of Controllers for simple static page having just
following site layout: home | services | portfolio | about. Should I
create one Controller for each? Or create action methods representing
above layout in
You should write
fixtures :stories, :votes, :first
2009/8/14 Colin Law clan...@googlemail.com
2009/8/14 Aljaz Fajmut rails-mailing-l...@andreas-s.net:
Frederick Cheung wrote:
On Aug 13, 4:14�pm, Aljaz Fajmut rails-mailing-l...@andreas-s.net
wrote:
instead of
def test_some_test
Thanks for share!
2009/8/15 Maximiliano Guzman maximiliano.guz...@gmail.com
+1 Nice article. Thanks
On Fri, Aug 14, 2009 at 12:05 PM, Alpha Blue
rails-mailing-l...@andreas-s.net wrote:
SSH Magic and Rails Development
Please googlet !
2009/8/15 shusseina s.anderson...@gmail.com
What platform are you on?
On Aug 15, 4:22 am, fricativemind fricativem...@gmail.com wrote:
Can any one guide me how to install Ruby on Rails...
--~--~-~--~~~---~--~~
You received this
Greg Donald wrote:
On Sun, Aug 16, 2009 at 2:47 AM, Rails
Listrails-mailing-l...@andreas-s.net wrote:
not even a single feedback from rails enthusiasts!...mmm..strange
Your SEO is not.. optimal.
http://www.google.com/search?q=railslist.com
--
Greg Donald
http://destiney.com/
76 matches
Mail list logo