Hi Rodrigo,
I'll take a look.
Thx :D
2012/5/6 Rodrigo Vieira rodrigovieira1...@gmail.com
Try the guides: http://guides.rubyonrails.org/action_mailer_basics.html
You should also look for your Linode SMTP settings.
On 06/05/2012, at 19:21, Bruno Meira goesme...@gmail.com wrote:
Hi Guys,
I
Hi Guys,
I created a mail server at Linode.
I would like to configure my rails app to send mails using one of this mail
accounts.
Does anybody know any tutorial about how to do it?
Thx
Bruno Meira
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
I'm using Dovecot
--
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.
For
Ok Kevin,
I'll take a look.
Thx for the help :D
--
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
Hi guys,
My application are using some triggers that use plpgsql.
That is my first time using HEROKU, so I tried to run rake db:migrate and
it sent an error telling that the plpgsql language was not created.
Does anybody knows if HEROKU supports this kind of language??
--
Bruno Meira
--
You
I'm using the shared database plan
--
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
Ok guys,
As I can see Bluehost is not a good solution for me.
I will take a look better in one of these other providers.
Thx :D
--
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 Folks,
I developed an application using Rails 3.1.3. I would like to deploy it on
bluehost(I have one account there)
I tried hard to do it, but I could'nt deploy it. Does anyone know how to
deploy in this provider???
Thx,
Bruno Meira
--
You received this message because you are subscribed
There isn't any private or protected modifier in my class. How can I know
if something is monkeypatching my class?
thx for reply :D
--
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
I find the bug!! :D
This bug happens because I forgot to Add _mailer suffix to my post mailer
class ...
--
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
It is a Model class and a Mailer class.
But when I created my Post Mailer class I put the same name (I completely
forgot to add _mailer suffix) :P
My Model class = post.rb
My Mailer class = post.rb
That's why this weird error was thrown. Mailer class in fact doesn't have
constructor(am I right?)
in console this problem still happens.
The funniest thing is because this error only occurs on Post class... ;/
Thx
--
Bruno Meira
--
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
That's the exception Rails console gave me:
1.9.2p290 :035post = Post.new
NoMethodError: private method `new' called for Post:Class
from
/home/bruno/.rvm/gems/ruby-1.9.2-p290/gems/actionmailer-3.1.3/lib/action_mailer/base.rb:455:in
`method_missing'
from (irb):35
from
%
--
Bruno Meira
--
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.
For more
Hi Javier,
I think that this approach is correct but I guess that if you use
transaction it will be better for your system performance.
:D
--
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
Exactly,
Using Transactions will be save you some DB connections. It's simple to use
it, take a look better in that url... it explains well how to use it.
:D
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send
Hi,
In my application I'm using gravatar_image_tag to retrieve user's avatar.
I would like to show a custom image(registered in my assets directory) in
case that user do not have an gravatar account.
How could I do it?
thx
Bruno Meira
--
You received this message because you are subscribed
Thx soldier,
I will take a look :D
--
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
:0x007f94581e7848
How can I fix it?
Thx
Bruno Meira
--
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
Hi Walter,
I will take a look in this solution and in this Kamirami
Thx for the answer ;D
--
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
First time using Kaminari... But it seems to be a good gem.
Thx for the tip ;D
--
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
question is:
Is a good Idea use this kind of helpers or create HTML code by myself?
Thx.
Bruno Meira
--
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
Thx for your reply Walber. :D
That's exactly the point that is my question.
The helper will be constructed at view time, isn't it?
If it was at application start time, how ruby syntaxes that involves
iteration will works?
.
Example:
@users.each do |user|
f.select_tag ...
.
Well, I'm not
*Walter
--
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.
For more options,
Thx Guys,
I understand.
Well, as I see this overload is small compared with the benefits of using
these helpers.
:D
--
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
Hmmm
Thx... I will take a look in this whenever. It's seems easy to use. :D
--
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
Hi guys,
I was wondering if sb could guide me.
I want to create a thread that was started with rails server start up. This
Thread does some database update every day (automatically).
Sb knows where can I find some materials about it?
Thx
Bruno Meira
--
You received this message because you
sb = somebody (Sorry, English is not my native language ;/ )
Well, I'm using Debian.
I want to run this task at the end of the day(This day could be given by
the time in my server). This task will do some updates in my database.
--
You received this message because you are subscribed to the
Michael,
It seems that this RailsCron gem is what I've been looking for. :D
I will take a look in it.
Thx
:D
--
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
I will try using this gem, If it not works properly or overload my
application I will try using another approach.
Thx a lot, Before your answers I didn't know how could I start doing this
activity.
:D
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
I found the answer
I fixed this problem using:
$(#addContactsToUser).bind(ajax:before, function()
{
$(this).data('params', { test: 'bar' });
});
As you can notice I insert post params before send my request.
This solution works ok ;D
Thx
--
You received this message because you are
Hey,
Take a look at fields_for helper. This helper might help you.
:D
--
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
Hi Guys,
I hava a link that send via ajax some data. In this link I want to insert
some params... How can I do this?
thx
:D
Bruno Meira
--
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
I'm using link_to helper
--
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.
Hi Marco,
If I understand your question, Do you want to fill in one form many models.
Am I right?
If your question is this you can use fields_for to apply it.
Check something similar in
http://railscasts.com/episodes/73-complex-forms-part-1
:D
--
You received this message because you are
Sorry, I made a mistake...
Your name is Mauro and not Marco.
;/
--
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
:partial='shared/user_contacts',:locals={:f=f},:object=resource.user_contacts
%);
}
);
--
Bruno Meira
--
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
No errors appears just a pure html is inserted in div:
%=render
:partial='shared/user_contacts',:locals={:f=f},:object=resource.user_contacts
%
--
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
the html is similar of the inserted partial in div
--
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
H
Ok, I will try do this using an ajax call...
But How can I pass object references using an ajax call? Is it possible in
rails or I need pass object attributes by JSON?
Thx :D
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To
Ok!!
I will take a look better in these parameters.
I'm using default chrome developers js debug. Is Firebug better?
thx for the help ;D
--
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 Halisson,
Thx for the help.
Well, I found yesterday a solution for this problem.
My solution was to create a custom controller that inherits from
Devise::RegistrationsController. This controller override update and edit
methods doing whatever I want to do. :D.
If you do this solution you need
Hi Guys,
I was wondering if sb could help me.
I have the following problem:
-I want to create a complex form using railscast tutorial (
http://railscasts.com/episodes/73-complex-forms-part-1). Well, to perform
this I need to update my controller(in this case the controller responsible
to
Hi Greg. I will take a look in this session.
Thx for the help:D
--
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
Hey guys,
I was trying to create a preview image using paperclip. Is it possible?
If yes, sb knows where can I find some post about it??
If no, What gem can I use to create preview images?
Bruno Meira
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails
Sorry,
I will ask on aptana forum
Thx ;D
--
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
Hi guys,
I'm new on RoR and I started to develop with this meta-framework on
Aptana3.
While I'm trying to improve my skills in Rails a question came to my
head
Is there any way to configure autocomplete of rails commands in Aptana3?
Bruno Meira
--
You received this message because you
h,
That's what I do to fix my routing.
I guess that my question generated a little confusion ;/. Sorry for
any incovenience
Thx 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
I have the following problem:
- I have a controller called UsersController and I need to restrict
the show URL to use only numbers, How can I do that?
my routes.rb has this line:
resources :users, :except=[:destroy]
How I add this constraint in this line?
I know that there is a command
I do like Conrad said and the code works well.
Thx ;D
--
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
My constraint stayed like that: :constraints = { :id = /
[1-9]\d*/ }
--
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
Hi 7stud,
I wanted a URL like that: /users/:id, where :id could only be one or
more integers, actually the user id.
I don't have in mind any case that this line could'nt be resolve.
Could you give me an example?
Thx ;D
--
You received this message because you are subscribed to the Google Groups
Hi guys,
I have the following problem:
In my application there is 3 entities that have this relationship:
-1 post has many comments
-1 comment belongs to one user and to one post
-1 comment could be voted by many users
My problem is how can I make a query to search for the best rated
comment, in
Wooow, I completely forgot to include jQueryUI.
Now it works!
Thx a lot :D
--
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
Hi guys,
I installed JQuery on my rails application, I tested some functions
like $(#some_elem).attr(id), and it works well.
So, I think that my file was corrected installed.
My problem is this:
- Everytime that I use JQuery command to create I dialog, this command
doesn't works.
One example is:
I tried everything to install this version of ruby and rails 3 in my
s.o. All the the tutorials that I found don't work.
Sb know how to install this version of RoR in my S.O. I'm using
Debian.
Thx ;D
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
I already tried it. But the ruby -v only works in non-root mode and
rails -v doesn't work in any mode ;/
--
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
yeah, I already type rvm | head -1, and everything works good.
I installed ruby using rvm. rvm install 1.9.2.
It works well but when I type ruby -v in console, if I'm on sudo
mode it shows me a message telling me that this command does not find.
Otherwise if I'm not on sudo mode it works well.
I
Now it works!
I follow again some steps of one blog and it works!
all the time that I need to use rake db:migrate I type rvm rake
db:migrate isn't it?
ruby -v doesn't appears in root mode, but if it works is not a
problem :P
thx for the help
:D
--
You received this message because you are
Thx for the help guys!
I will read more about rvm and try to follow the steps of rahul's
blog
:D
--
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
Well, I was reading Agile Web Development book and one question
appeared in my head.
When exactly I use partial and when exactly I use helper. As the book
says we could create html code in a shared helper, so Why we need to
use partial or layout instead of on shared helper?
--
You received this
now I understand
Thx ;D
--
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.
Hi Perry,
Thanks for help me, I will try to follow your tips ;D
May I ask you another question?
If yes, my question is:
Is a good practice in this page has only one BIG form that treat
all the actions and this action has a lot of (if
params[:button_name]), or has many forms responsible to
Hey everybody,
I'm new on RoR and I was wondering with sb could help me.
I have one page that interacts with a lot of controllers and actions,
so I need to create many forms(one per action).
Example: In this page I send message to user, make one vote in one
post, remove one post. So I create one
64 matches
Mail list logo