My problem is that the instance variable @records says it is null in the
RXML template. I also tried creating other instance variables in the
controller but it can’t be seen inside the RXML template. I tried using
using the params and it works correctly.
Has anybody got this example going? I had no experience with RXML
templates so maybe somebody could point out whats going on here.
My problem is that the instance variable @records says it is null in the
RXML template. I also tried creating other instance variables in the
controller but it can’t be seen inside the RXML template. I tried using
using the params and it works correctly.
Has anybody got this example going? I had no experience with RXML
templates so maybe somebody could point out whats going on here.
Thanks,
/franee
Found the problem, it was because the controller methods was placed
below a private method which i forgot. stupid me@-)
Please discard the question. sorry guys:)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.