On 3 June 2015 at 17:17, skrite sh...@skrite.net wrote:
i cannot really upgrade. I would love too, but i have a bazillion lines of
code for this version running.
you were right. terminology was wrong expire_after not expires..
So expires_after worked correctly in webrick. Very strange.
Colin
I have a form with a select_tag and options_from_collection_for_select
that I can't seem to get to pass. The parent object, Campaign, saves
but does not associate with the child-object Uploadzip.
Campaign has_one Uploadzip
Uploadzip belongs_to Campaign
There's also the campaign_id foreign_key on
Hey guys, I am a student and I got the memo (without explanation) that
my following code can be much better. How would you improve my
controller/reviewname method? Thank you for your time!
class ReviewController ApplicationController
def index
@reviews = Review.all.order(created_at: :desc)
On Wed, Jun 3, 2015 at 3:11 PM, Elizabeth McGurty emcgur...@gmail.com wrote:
With this information, when I recently announced here that I had made some
progress in better utilizing table associations, a member here, Colin Law,
responded:
Rails 3.0 is long obsolete and, I believe, no longer
Member of a FaceBook group helped me figure it out by adding a little
extra logic in the controller save.
if @campaign.save
zip = Uploadzip.find(params[:uploadzip_id])
zip.campaign = @campaign
zip.save
flash[:success] = Campaign Successfully Launched!
I have build an application. My shared web server is with DreamHost. The
permitted Rails version is 3.0.3, and permitted Ruby version is 1.8.7.
With this information, when I recently announced here that I had made some
progress in better utilizing table associations, a member here, Colin
Hi,
I am a Core PHP developer from 1 year. Want to learn Ruby on rails. Please
provide me simple material where I can read and practice RoR. Please help
me.
Regards,
Hemraj Solanki
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To
Hi friends,
www.cryptextechnologies.com is one of the best company in india offering
ruby on rails development
--
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 unsubscribe from this group and
You can get a 2 year subscription to stuk.io for $49 which is a 90%
discount. They walk you through (video tutorial) building 4 Rails apps
starting from beginner to advanced skill levels. It's excellent and will
get you where you want to go fast.
Hello all,
I have a series of maintenance tasks that need attention.
The sites concerned have had limited support since they were first
developed, they run on old versions of Rails, ruby and have outdated gems.
•Cache and error log clearance - error logs are not auto purged and
over time
On 3 June 2015 at 09:50, Euan Leslie li...@ruby-forum.com wrote:
Anyway, I am trying to get my Rails form to post an e mail to a Manager
when someone hits the 'Submit' button of my leave request form (model is
'absence').
Did you see this?
On 3 June 2015 at 08:37, Hemraj Solanki siya21...@gmail.com wrote:
Hi,
I am a Core PHP developer from 1 year. Want to learn Ruby on rails. Please
provide me simple material where I can read and practice RoR. Please help
me.
Start by working right through a good tutorial such as
i dont know anything about checkbox..i have following requirement..
checkbox along with mail ids..whenever i click on first checkbox all the
mails needs to get selected..then for those mails i need to send mail in
ruby..dnt have knoweldge about rails.can anyone tell me what codes i
need to insert
On Tue, May 26, 2015 at 5:56 AM, Elizabeth McGurty emcgur...@gmail.com wrote:
Colin,
I pretty much would prefer if you didn't bother with my posts. I am
functioning in earnest, and think that folks understand that. I don't want
you policing my site conduct.
Liz
This is an old post, but I
I could have sworn I posted this yesterday but can't find it anywhere
Anyway, I am trying to get my Rails form to post an e mail to a Manager
when someone hits the 'Submit' button of my leave request form (model is
'absence').
The Manager e mail is in a field called 'mgremail' (string). Other
Colin Law wrote in post #1174468:
On 3 June 2015 at 09:50, Euan Leslie li...@ruby-forum.com wrote:
Anyway, I am trying to get my Rails form to post an e mail to a Manager
when someone hits the 'Submit' button of my leave request form (model is
'absence').
Did you see this?
On 3 June 2015 at 03:07, Elizabeth McGurty emcgur...@gmail.com wrote:
PS: The site was built for DreamHost required Rails 3.0, and Ruby version
1.8.7
Rails 3.0 is long obsolete and, I believe, no longer receives even
security updates, it should not be used for production applications.
Colin
BACK STORY: I'm working on a Rails app template that is similar to the
Rails Tutorial Sample App. The idea is to begin every app I ever start
with a pre-made template so that I don't have to plow through chapters 3
through 10 in Rails tutorial. I can have the app set up AND tested in just
a
On Wednesday, June 3, 2015 at 6:31:41 AM UTC+1, fizzi wrote:
I made this code but someone told me it was flawed
How would you improve this piece of code in the reviewcontroller (mainly
the namereview method)?
Looking just at that method:
- I wouldn't call it namereview - that seems to
On Wed, Jun 3, 2015 at 5:59 AM, Arvind Vyas arvindvya...@gmail.com wrote:
Hi I have found that we can crop image as circle with image magic and
carriageways ,but I want to know is it possible with paperclip that we can
crop image in circle if you could you guide me please.
I'll assume you
On 3 June 2015 at 12:29, Komala Tm li...@ruby-forum.com wrote:
i dont know anything about checkbox..i have following requirement..
checkbox along with mail ids..whenever i click on first checkbox all the
mails needs to get selected..then for those mails i need to send mail in
ruby..dnt have
I am running a rails 2.3.9 app and I cannot seem to make the session expire.
I have tried the :expires_after = in the environment.rb and it works in
webrick, but crashes on nginx with passenger.
Is there a way in the application controller or somewhere else that I can
set a session variable
It actually sounds like you need an ops person, not a dev.
Kind regards,
Timothy.
On 3 June 2015 at 19:26, Gareth Hargreaves ghargreaves1...@gmail.com
wrote:
Hello all,
I have a series of maintenance tasks that need attention.
The sites concerned have had limited support since they were
Hi I have found that we can crop image as circle with image magic and
carriageways ,but I want to know is it possible with paperclip that we can
crop image in circle if you could you guide me please.
Thanks
--
You received this message because you are subscribed to the Google Groups Ruby
on
I'm trying to work with nokogiri but I have some problems
I need to iterate a string that has several tags img with a base64 image
and change it for a url
example:
ptest/ pimg src=\data:image/png;base64,iVBORw0KGgoNSUhEUgA...
alt = \ \ bla bla bla img
Well, I managed to this:
doc = Nokogiri::HTML::DocumentFragment.parse(string)
doc.css('img').map { |i| i.set_attribute(:src, http://www.blabla.com;)
}
p doc.to_s
On Wednesday, June 3, 2015 at 9:44:00 AM UTC-3, Gm wrote:
I'm trying to work with nokogiri but I have some problems
I
i cannot really upgrade. I would love too, but i have a bazillion lines of
code for this version running.
you were right. terminology was wrong expire_after not expires..
tested and working now, thanks very much !
sk
On Wednesday, June 3, 2015 at 9:20:52 AM UTC-5, skrite wrote:
I am running
On Wed, Jun 3, 2015 at 7:20 AM, skrite sh...@skrite.net wrote:
I am running a rails 2.3.9 app
Unsupported, known insecure version of Rails (and probably Ruby) --
have you considered upgrading? :-)
I have tried the :expires_after = in the environment.rb and it works in
webrick, but crashes on
On Wed, Jun 3, 2015 at 9:17 AM, skrite sh...@skrite.net wrote:
i cannot really upgrade. I would love too, but i have a bazillion lines of
code for this version running.
At the very least consider upgrading to 2.3.18 (last in the line) for
the security fixes. You'll see deprecation warnings but
At the VERY least, you should upgrade to Rails 2.3.18 as there were security
fixes in every one of those 9 updates (some of them quite serious!).
Speaking as someone who also has a client with many lines of code running in a
Rails 2.3.18 framework-based application, you can really upgrade (a
Hi,
We are interested. Kindly share your details to i...@optisolbusiness.com
Looking forward.
Regards,
Mani
--
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 unsubscribe from this group and
Support to Rails 3.0 is stopped.You can use Rails 3.2.X
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To
A long time ago ... on a planet far away... a user posted something
about visualizing a ruby schema in MySQL Workbench. The answer was to
dumb the schema as SQL and then import into Workbench.
I tried to send the originator a quick email but failed so perhaps
someone here could update or
33 matches
Mail list logo