On 10 September 2012 02:41, John Merlino stoici...@aol.com wrote:
I'm going to invoke action view base from console, passing a string
object:
1.9.3p0 :016 ActionView::Base.new('app/views')
Look at the return value assigned to @view_paths. It should not be an
array. It should be a PathSet
On 10 September 2012 05:03, rails2012 derek...@hotmail.com wrote:
In my rufus config file, I have to call MyController.new.checkEmail. Now I
set it to run every 5 minutes. So the system creates a new MyController
instance every 5 minutes. That's very inefficient right?
Normally it would be
On 10 September 2012 03:58, Soichi Ishida li...@ruby-forum.com wrote:
item = @result.first
item.user_id
It worked fine! Thank you very much.
Now I need to study 'type Relation' :)
The reason it did not work originally is that @result is not a single
record, it is all the records that match
On 10 September 2012 05:48, Manoj M. li...@ruby-forum.com wrote:
Hi,
anybody please help me out,am using rails 3 but using this
flash[:notice] doesnot works, i have used this in controllers.
any idea ? please help.
Have a look at the Rails Guide on debugging, it will show you
techniques
Paste your code...
Sent from Samsung Mobile.
On Sep 10, 2012 1:58 PM, Colin Law clan...@googlemail.com wrote:
On 10 September 2012 05:48, Manoj M. li...@ruby-forum.com wrote:
Hi,
anybody please help me out,am using rails 3 but using this
flash[:notice] doesnot works, i have used this
Loganathan S. wrote in post #1075308:
Paste your code...
Sent from Samsung Mobile.
Hi,
here is my code below, @user is saved successfully but not flash
doesnot works. I have wrote this in userscontroller
if @user.save
flash[:notice] = Your account has been created.
Fixed it by pasting the below code in production.rb.
* config.serve_static_assets = true*
regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe http://vizualize.me/loganathan
On Fri, Sep 7, 2012 at 2:33 PM, Loganathan Sellapa
All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before displaying
standard error message.
I have no idea what could cause a problem.
by
TheR
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
On 10 September 2012 11:47, Damjan Rems li...@ruby-forum.com wrote:
All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before displaying
standard error message.
What is the error message?
Colin
--
You received this message
sleep 60 somewhere in the code?
2012/9/10 Colin Law clan...@googlemail.com
On 10 September 2012 11:47, Damjan Rems li...@ruby-forum.com wrote:
All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before displaying
standard error
Colin Law wrote in post #1075314:
On 10 September 2012 11:47, Damjan Rems li...@ruby-forum.com wrote:
All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before displaying
standard error message.
What is the error message?
Colin
Gintautas S. wrote in post #1075315:
sleep 60 somewhere in the code?
2012/9/10 Colin Law clan...@googlemail.com
;-)
--
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
On Mon, Sep 10, 2012 at 5:34 AM, Manoj M. li...@ruby-forum.com wrote:
Loganathan S. wrote in post #1075308:
Paste your code...
Sent from Samsung Mobile.
Hi,
here is my code below, @user is saved successfully but not flash
doesnot works. I have wrote this in userscontroller
if
On 10 September 2012 12:11, Damjan Rems li...@ruby-forum.com wrote:
Colin Law wrote in post #1075314:
On 10 September 2012 11:47, Damjan Rems li...@ruby-forum.com wrote:
All of the sudden it takes about a minute to display error in
development environment. Server just waits a minute before
there shouldn't be any issue with your code. how do you display the flash
messages?
On Mon, Sep 10, 2012 at 8:34 PM, Manoj M. li...@ruby-forum.com wrote:
Loganathan S. wrote in post #1075308:
Paste your code...
Sent from Samsung Mobile.
Hi,
here is my code below, @user is saved
Rails 3.1.3
I am hoping some of you may give me suggestions about user input helper
methods.
I have a large set of model, Flight, and its fields are
airline, flight_name, departure, destination
As you can imagine, the flight data will be very large; it could be
thousands if it is
Generally if we can create only 1 record, say 1 user at a time from the
form. But what if I want to create multiple users from a single form? There
are no associations with other models. How can i do that?
--
You received this message because you are subscribed to the Google Groups Ruby
on
Colin Law wrote in post #1075319:
On 10 September 2012 12:11, Damjan Rems li...@ruby-forum.com wrote:
There is no special error but any program error that may occur. It just
waits minute before program error is displayed. Be it in controller or
view or helper.
Do you mean syntax errors, ruby
abhimanyu bv wrote in post #1075325:
Generally if we can create only 1 record, say 1 user at a time from the
form. But what if I want to create multiple users from a single form?
There
are no associations with other models. How can i do that?
What is preventing you from doing that?
What have
Hi all
--
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
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this
Hi all
There are few migrations in Vendor folder and i want to run those
migrations, do i need to copy those to db folder and run them or there is
another way to run the migration present in Vendor folder.
Cheers,
KP
--
You received this message because you are subscribed to the
Recently I started a new side-project, using some full-text search
done with Solr, intending to put it on Heroku. However, I had
forgotten that Heroku doesn't allow any Solr for free! So I ripped it
out and looked for alternatives, winding up with pg_search. I ran up
against some problems, but
On Mon, Sep 10, 2012 at 8:15 AM, Damjan Rems li...@ruby-forum.com wrote:
It is typical situation when you tell a problem to a friend the
problem resolves itself ;-)
Actually, this is a very good problem-solving technique. If you can't
find a human to explain it to (best because they will ask
it looks as if it is onyl available on the class because if you look
it says self.class.fallbacks, yet that wouldnt make sense either
because then what would be the point of its existance if you had to
reach the class for it it, why not just create a class level macro
instead?
On Sep 9, 3:10 pm,
Soichi san,
There's a lot more to it than you're probably aware right now. Look at
Lucene and Solr. There's a library in ruby to integrate with Solr -
rsolr. There's a TermComponent in Solr that goes half way to what you're
trying to do.
--
Posted via http://www.ruby-forum.com/.
--
You
Just want to know the best practices to make sure I get off on the right foot.
I think on a general rule, creating fewer instances of an object is ideal for
performance right? (I am not suffering any real problems yet)
In Java, there is Inversion of Control/Dependency Injection. I have read
Any advice, comments please!
--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to
On Mon, Sep 10, 2012 at 11:59 AM, Derek Lin derek...@hotmail.com wrote:
Just want to know the best practices to make sure I get off on the right
foot. I think on a general rule, creating fewer instances of an object is
ideal for performance right? (I am not suffering any real problems yet)
On 10 September 2012 00:31, Pradeep Singh li...@ruby-forum.com wrote:
Can anyone explain where are the milliseconds getting lost -
Completed 200 OK in 438ms (Views: 145.0ms | ActiveRecord: 15.0ms)
Completed 200 OK in 378ms (Views: 206.0ms | ActiveRecord: 2.0ms)
Completed 200 OK in 275ms
Aloha Ruby Conference (http://aloharubyconf.com) is approaching soon,
October 8-9, 2012, at the Sheraton Waikiki Beach Hotel. We have a
volcanic line up of speakers and topics. Aaron Patterson's is kicking
off the conference by giving us an update on Rails 4 and the future of
the Web. The day 2
I was hoping to take a shortcut by asking about a very very specific
case. There must be some opinions out there about what all goes on
regarding this one and only one item of interest.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
On 10 September 2012 21:03, Pradeep Singh li...@ruby-forum.com wrote:
I was hoping to take a shortcut by asking about a very very specific
case. There must be some opinions out there about what all goes on
regarding this one and only one item of interest.
Since you have not quoted the previous
@johnrlive install git with homebrew rather than relying on the os x
version.
--
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
Thanks for your answer.
There's a lot more to it than you're probably aware right now.
Does this mean in a bad sense? Am I underestimating the functionality
requirement?
Look at
Lucene and Solr. There's a library in ruby to integrate with Solr -
rsolr. There's a TermComponent in Solr that
if this can be done even i wanna know how to do it.
On Mon, Sep 10, 2012 at 7:31 PM, keerthi priya
emailtokeerthipr...@gmail.com wrote:
Hi all
There are few migrations in Vendor folder and i want to run those
migrations, do i need to copy those to db folder and run them or there is
i know average ruby language. i sort out two static web generator* **Nanoc*
and *Middleman* my requirements are:-
1. easy to customize
2. easy to learn
3. more resources to learn
so tell me which one will be better for me Nanoc or Middleman?
Thanks for Reading
--
You received this
36 matches
Mail list logo